feat: Add support for checkbox and textarea
This commit is contained in:
@@ -16,7 +16,10 @@
|
|||||||
</div>
|
</div>
|
||||||
{% elif field|widget_type == 'dateinput' %}
|
{% elif field|widget_type == 'dateinput' %}
|
||||||
{{ field|add_class:"input"|attr:"type:date" }}
|
{{ field|add_class:"input"|attr:"type:date" }}
|
||||||
|
{% elif field|widget_type == 'textarea' %}
|
||||||
|
{{ field|add_class:"input textarea"|attr:"rows:3" }}
|
||||||
|
{% elif field|widget_type == 'checkboxinput' %}
|
||||||
|
{{ field|add_class:"checkbox" }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ field|add_class:"input" }}
|
{{ field|add_class:"input" }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user