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