2017-01-10 04:12:07 +00:00
|
|
|
{% load pyconau2017_tags %}
|
2016-07-19 21:31:13 +00:00
|
|
|
|
|
|
|
{% classname field.field.widget as widget %}
|
|
|
|
{% if widget == "CheckboxInput" %}
|
|
|
|
{% include "forms/widget_boolean_single.html" %}
|
2016-09-30 10:46:05 +00:00
|
|
|
{% elif widget == "RadioSelect" or widget == "CheckboxSelectMultiple" %}
|
2016-07-19 21:31:13 +00:00
|
|
|
{% include "forms/widget_boolean_multiple.html" %}
|
2016-09-30 10:46:05 +00:00
|
|
|
{% elif widget == "Select" or widget == "SelectMultiple" or widget == "LazySelect" or widget == "CountrySelectWidget" %}
|
2016-07-19 21:31:13 +00:00
|
|
|
{% include "forms/widget_basic.html" with widget_class="select" %}
|
|
|
|
{% else %}
|
|
|
|
{% include "forms/widget_basic.html" %}
|
|
|
|
{% endif %}
|