# Path: sandbox/forms.py
# class SampleForm(forms.Form):
#     """
#     Just a very basic form for tests
#     """
#     foo = CodeMirrorField(label="Foo",
#                           required=True,
#                           config_name="basic",
#                           initial='Hello World!')


import io, os
from django.conf import settings
from django.views.generic.edit import FormView
from django.urls import reverse
from sandbox.forms import SampleForm
# -*- coding: utf-8 -*-
"""
Sample views
"""





class BasicSampleFormView(FormView):
    template_name = 'form.html'

# Path: sandbox/forms.py
# class SampleForm(forms.Form):
#     """
#     Just a very basic form for tests
#     """
#     foo = CodeMirrorField(label="Foo",
#                           required=True,
#                           config_name="basic",
#                           initial='Hello World!')


# Path: sandbox/views.py
import io, os
from django.conf import settings
from django.views.generic.edit import FormView
from django.urls import reverse
from sandbox.forms import SampleForm

# -*- coding: utf-8 -*-
"""
Sample views
"""





class BasicSampleFormView(FormView):
    template_name = 'form.html'

    form_class = SampleForm