views/macros: add value property to textareas for styling

This commit is contained in:
Alice Gaudon 2020-09-15 16:26:04 +02:00
parent 3a473dd24e
commit c30df81da7
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@
<i data-feather="chevron-down"></i>
{% elseif type == 'textarea' %}
<textarea name="{{ name }}" id="field-{{ name }}"
{{ validation_attributes|safe }}>{{ value }}</textarea>
{{ validation_attributes|safe }} value="{{ value }}">{{ value }}</textarea>
{% else %}
<input type="{{ type }}" name="{{ name }}" id="field-{{ name }}"
{% if type != 'checkbox' %} value="{{ value }}" {% endif %}