Legend:
- Unmodified
- Added
- Removed
-
inc/admin/default-templates/forms/form_layout.html.twig
r1148 r1152 48 48 49 49 {% block field_checkbox %} 50 {% spaceless %} 50 {% set type = type|default('checkbox') %} 51 {% set nestedlabel = true %} 52 {% set labelclass = "classic" %} 53 {{ block('field_input') }} 54 {#{% spaceless %} 55 51 56 {% if label is not empty %} 52 57 <label for="{{name}}" class="classic"> … … 56 61 {{ label }}</label> 57 62 {% endif %} 58 {% endspaceless %} 63 {% endspaceless %}#} 59 64 {% endblock field_checkbox %} 60 65 … … 105 110 {% if label is not empty %} 106 111 {% if required is not empty %} 107 {% set labelclass = labelclass +" required" %}112 {% set labelclass = labelclass ~ " required" %} 108 113 {% endif %} 109 114 <label for="{{name}}" {% if labelclass is not empty %}class="{{labelclass}}"{% endif %} {% if required is not empty %}<abbr title="{{__('Required field')}}">*</abbr>{% else %}>{% endif %} {{label}}
Note: See TracChangeset
for help on using the changeset viewer.