2016-07-19 21:31:13 +00:00
|
|
|
{% load lca2017_tags %}
|
|
|
|
|
|
|
|
{% 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 %}
|