2021-05-29 09:22:04 +02:00
|
|
|
{% load bulma %}
|
2020-12-20 12:00:09 +01:00
|
|
|
|
|
|
|
<div class="field">
|
|
|
|
{% if field|is_checkbox %}
|
|
|
|
|
|
|
|
{% include "forms/checkbox.html" %}
|
|
|
|
|
|
|
|
{% elif field|is_radio %}
|
|
|
|
|
|
|
|
{% include "forms/radio.html" %}
|
|
|
|
|
|
|
|
{% elif field|is_input %}
|
|
|
|
|
|
|
|
{% include "forms/input.html" %}
|
|
|
|
|
|
|
|
{% elif field|is_textarea %}
|
|
|
|
|
|
|
|
{% include "forms/textarea.html" %}
|
|
|
|
|
|
|
|
{% elif field|is_select %}
|
|
|
|
|
|
|
|
{% include "forms/select.html" %}
|
|
|
|
|
|
|
|
{% elif field|is_file %}
|
|
|
|
|
|
|
|
{% include "forms/file.html" %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
{% include "forms/other.html" %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</div>
|