{{ form_start(form, {'method': 'POST', 'action' : path('setup_display_globals'), 'attr': {'class' : 'form-horizontal', 'id': 'setupForm'}}) }} {{ form_errors(form) }} {% for daform in form %} {% if daform.vars['label'] != null %}
{{ daform.vars['label'] }} {% for formdata in daform %} {% if formdata.vars['attr'] is defined and formdata.vars['attr']['id'] is defined and formdata.vars['attr']['id'] == 'personalize-logo-container' %}
{{ form_errors(formdata) }} {{ form_label(formdata, null, { 'label_attr': {'class' : 'control-label'} } ) }}
{% include 'admin/personalisation_logo.html.twig' with {'form': formdata} %}
{{ formdata.vars['help_message'] }}
{{ form_rest(formdata) }}
{% else %}
{{ 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) }}
{% endif %} {% 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) }}