Add textarea support to macros.field
This commit is contained in:
parent
9db09f83cb
commit
8d7deb9d48
@ -70,6 +70,9 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<i data-feather="chevron-down"></i>
|
<i data-feather="chevron-down"></i>
|
||||||
|
{% elseif type == 'textarea' %}
|
||||||
|
<textarea name="{{ name }}" id="field-{{ name }}"
|
||||||
|
{{ validation_attributes|safe }}>{{ 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