{{ form_start(form, {'method': 'POST', 'action' : path('setup_display_globals'), 'attr': {'autocomplete' : 'off', 'class' : 'form-horizontal'}}) }} {{ form_errors(form) }} {% for daform in form %} {% if daform.vars['label'] != null %}
{{ daform.vars['label'] }} {% for formdata in daform %}
{{ form_errors(formdata) }} {{ form_label(formdata, null, { 'label_attr': {'class' : 'control-label'} } ) }}
{{ form_widget(formdata, {'attr': {'class': 'input-xxlarge'}}) }}
{{ formdata.vars['help_message'] }}
{{ form_rest(formdata) }}
{% endfor %} {{ form_rest(daform) }}
{% endif %} {% endfor %} {{ "setup::custom-link:title-custom-link" | trans }} {% for links in form['custom-links'] %} {% include 'admin/custom_links.html.twig' with {'form': links} %} {% endfor %}
{{ form_end(form) }}