Spade
Mini Shell
| Directory:~$ /home/lmsyaran/www/administrator/components/com_gantry5/templates/forms/fields/input/ |
| [Home] [System Details] [Kill Me] |
{% extends 'forms/fields/input/group/group.html.twig' %}
{% block input %}
<input
{# required attribute structures #}
type="date"
name="{{ (scope ~ name)|fieldName }}"
value="{{ value|join(', ') }}"
{# global attribute structures #}
{{ block('global_attributes') }}
{# non-gloval attribute structures #}
{% if field.autocomplete in ['on', 'off']
%}autocomplete="{{ field.autocomplete }}"{% endif %}
{% if field.autofocus in ['on', 'true', 1]
%}autofocus="autofocus"{% endif %}
{% if field.disabled in ['on', 'true', 1]
%}disabled="disabled"{% endif %}
{% if field.list is defined %}list="{{ field.list
}}"{% endif %}
{% if field.max is defined %}max="{{ field.max }}"{%
endif %}
{% if field.min is defined %}min="{{ field.min }}"{%
endif %}
{% if field.readonly in ['on', 'true', 1]
%}readonly="readonly"{% endif %}
{% if field.required in ['on', 'true', 1]
%}required="required"{% endif %}
{% if field.step is defined %}step="{{ field.step
}}"{% endif %}
/>
{% endblock %}