hackens-orga/hackens_orga/shared/templates/forms/field.html

34 lines
509 B
HTML
Raw Normal View History

2023-02-09 17:07:33 +01:00
{% load bulma %}
<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>