# Path: sandbox/demo/views.py
# class FormByFieldsetView(FormContainersMixin, CrispyFoundationMixin, FormView):
#     template_name = 'crispy_demo/fieldsets.html'
#     form_class = FormByFieldsetsForm
# 
# class FormByTabView(FormContainersMixin, CrispyFoundationMixin, FormView):
#     template_name = 'crispy_demo/tabs.html'
#     form_class = FormByTabsForm
# 
# class FormByAccordionView(FormContainersMixin, CrispyFoundationMixin, FormView):
#     template_name = 'crispy_demo/accordions.html'
#     form_class = FormByAccordionsForm
# 
# class StaticPage(FormContainersMixin, CrispyFoundationMixin, TemplateView):
#     template_name = 'crispy_demo/success.html'


from django.conf.urls import url
from django.views.generic.base import TemplateView
from .views import (
    FormByFieldsetView, FormByTabView, FormByAccordionView, StaticPage
)
"""
Urls for "crispy form foundation" demo
"""



app_name = 'demo'

urlpatterns = [
    url(r'^foundation-(?P<foundation_version>\d+)/$',
        FormByFieldsetView.as_view(),
        name='crispy-demo-form-fieldsets'),
    url(r'^foundation-(?P<foundation_version>\d+)/fieldsets/$',

# Path: sandbox/demo/views.py
# class FormByFieldsetView(FormContainersMixin, CrispyFoundationMixin, FormView):
#     template_name = 'crispy_demo/fieldsets.html'
#     form_class = FormByFieldsetsForm
# 
# class FormByTabView(FormContainersMixin, CrispyFoundationMixin, FormView):
#     template_name = 'crispy_demo/tabs.html'
#     form_class = FormByTabsForm
# 
# class FormByAccordionView(FormContainersMixin, CrispyFoundationMixin, FormView):
#     template_name = 'crispy_demo/accordions.html'
#     form_class = FormByAccordionsForm
# 
# class StaticPage(FormContainersMixin, CrispyFoundationMixin, TemplateView):
#     template_name = 'crispy_demo/success.html'


# Path: sandbox/demo/urls.py
from django.conf.urls import url
from django.views.generic.base import TemplateView
from .views import (
    FormByFieldsetView, FormByTabView, FormByAccordionView, StaticPage
)

"""
Urls for "crispy form foundation" demo
"""



app_name = 'demo'

urlpatterns = [
    url(r'^foundation-(?P<foundation_version>\d+)/$',
        FormByFieldsetView.as_view(),
        name='crispy-demo-form-fieldsets'),
    url(r'^foundation-(?P<foundation_version>\d+)/fieldsets/$',

        FormByFieldsetView.as_view(),