Initial commit of DEMOS2 with the upgraded 'Create Event' UI. However, there is no input validation currently
This commit is contained in:
commit
7084bd1b16
155 changed files with 8102 additions and 0 deletions
30
allauthdemo/templates/bootstrap3/whole_uni_formset.html
Executable file
30
allauthdemo/templates/bootstrap3/whole_uni_formset.html
Executable file
|
@ -0,0 +1,30 @@
|
|||
{% load crispy_forms_tags %}
|
||||
{% load crispy_forms_utils %}
|
||||
|
||||
{% specialspaceless %}
|
||||
{% if formset_tag %}
|
||||
<form {{ flat_attrs|safe }} method="{{ form_method }}" {% if formset.is_multipart %} enctype="multipart/form-data"{% endif %}>
|
||||
{% endif %}
|
||||
{% if formset_method|lower == 'post' and not disable_csrf %}
|
||||
{% csrf_token %}
|
||||
{% endif %}
|
||||
|
||||
<div>
|
||||
{{ formset.management_form|crispy }}
|
||||
</div>
|
||||
|
||||
{% include "bootstrap3/errors_formset.html" %}
|
||||
|
||||
{% for form in formset %}
|
||||
{% include "bootstrap3/display_form.html" %}
|
||||
{% endfor %}
|
||||
|
||||
{% if inputs %}
|
||||
<div class="form-actions">
|
||||
{% for input in inputs %}
|
||||
{% include "bootstrap3/layout/baseinput.html" %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if formset_tag %}</form>{% endif %}
|
||||
{% endspecialspaceless %}
|
Reference in a new issue