Legend:
- Unmodified
- Added
- Removed
-
inc/admin/default-templates/forms/form_layout.html.twig
r1316 r1319 57 57 {% block field_attr %} 58 58 {% spaceless %} 59 id="{{id}}"name="{{name}}" {% if read_only %} disabled="disabled"{% endif %}{% if required %} required="required"{% endif %}{% if maxlength %} maxlength="{{ maxlength }}"{% endif %}{% if pattern %} pattern="{{ pattern }}"{% endif %}59 {% if id %}id="{{id}}"{% endif %} name="{{name}}" {% if read_only %} disabled="disabled"{% endif %}{% if required %} required="required"{% endif %}{% if maxlength %} maxlength="{{ maxlength }}"{% endif %}{% if pattern %} pattern="{{ pattern }}"{% endif %} 60 60 {% for attrname,attrvalue in attr %}{{attrname}}="{{attrvalue}}" {% endfor %} 61 61 {% endspaceless %}
Note: See TracChangeset
for help on using the changeset viewer.