2017-01-10 04:12:07 +00:00
|
|
|
{% load pyconau2017_tags %}
|
2016-07-19 21:31:13 +00:00
|
|
|
|
2017-04-16 06:01:57 +00:00
|
|
|
<div class="form-group row">
|
|
|
|
{% classname field.field.widget as widget %}
|
|
|
|
{% if widget == "CheckboxInput" %}
|
|
|
|
{% include "forms/widget_boolean_single.html" %}
|
|
|
|
{% elif widget == "RadioSelect" or widget == "CheckboxSelectMultiple" %}
|
|
|
|
{% include "forms/widget_boolean_multiple.html" %}
|
|
|
|
{% elif widget == "Select" or widget == "SelectMultiple" or widget == "LazySelect" or widget == "CountrySelectWidget" %}
|
|
|
|
{% include "forms/widget_basic.html" with widget_class="select" %}
|
|
|
|
{% else %}
|
|
|
|
{% include "forms/widget_basic.html" %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|