views/macros: add value property to textareas for styling
This commit is contained in:
parent
3a473dd24e
commit
c30df81da7
@ -81,7 +81,7 @@
|
|||||||
<i data-feather="chevron-down"></i>
|
<i data-feather="chevron-down"></i>
|
||||||
{% elseif type == 'textarea' %}
|
{% elseif type == 'textarea' %}
|
||||||
<textarea name="{{ name }}" id="field-{{ name }}"
|
<textarea name="{{ name }}" id="field-{{ name }}"
|
||||||
{{ validation_attributes|safe }}>{{ value }}</textarea>
|
{{ validation_attributes|safe }} value="{{ value }}">{{ value }}</textarea>
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="{{ type }}" name="{{ name }}" id="field-{{ name }}"
|
<input type="{{ type }}" name="{{ name }}" id="field-{{ name }}"
|
||||||
{% if type != 'checkbox' %} value="{{ value }}" {% endif %}
|
{% if type != 'checkbox' %} value="{{ value }}" {% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user