improve layout of export form

This commit is contained in:
Julien Fastré 2016-11-21 23:05:31 +01:00
parent d77746a299
commit eb624ac63d
2 changed files with 8 additions and 5 deletions

View File

@ -12,7 +12,10 @@ username: nom d'utilisateur
Password: Mot de passe Password: Mot de passe
Welcome to %installation_name%: Bienvenue à %installation_name% Welcome to %installation_name%: Bienvenue à %installation_name%
Login to %installation_name%: Connexion à %installation_name% Login to %installation_name%: Connexion à %installation_name%
Enabled: activé Enabled: Activé
enabled: activé
disabled: désactivé
Disabled: Désacdtivé
Id: identifiant Id: identifiant
Homepage: Accueil Homepage: Accueil
Welcome: Bienvenue Welcome: Bienvenue

View File

@ -29,7 +29,7 @@
{{ form_start(form) }} {{ form_start(form) }}
{% if form.children.export.children.filters is not empty%} {% if form.children.export.children.filters is not empty%}
<div> <div style="clear:both; padding-top: 1.5em;">
<h2>{{ 'Filters'| trans }}</h2> <h2>{{ 'Filters'| trans }}</h2>
{% for filter_form in form.children.export.children.filters %} {% for filter_form in form.children.export.children.filters %}
{{ form_label(filter_form) }} {{ form_label(filter_form) }}
@ -43,7 +43,7 @@
{% endif %} {% endif %}
{% if form.children.export.children.aggregators is not empty %} {% if form.children.export.children.aggregators is not empty %}
<div> <div style="clear:both; padding-top: 1.5em;">
<h2>{{ 'Aggregators'| trans }}</h2> <h2>{{ 'Aggregators'| trans }}</h2>
{% for aggregator_form in form.children.export.children.aggregators %} {% for aggregator_form in form.children.export.children.aggregators %}
{{ form_label(aggregator_form) }} {{ form_label(aggregator_form) }}
@ -58,7 +58,7 @@
{% if form.children.export.children.export.children|length > 0 %} {% if form.children.export.children.export.children|length > 0 %}
<div> <div style="clear:both; padding-top: 1.5em;">
<h2>{{ 'Export parameters'|trans }}</h2> <h2>{{ 'Export parameters'|trans }}</h2>
{{ form_widget(form.children.export.children.export) }} {{ form_widget(form.children.export.children.export) }}
</div> </div>
@ -67,7 +67,7 @@
{{ form_widget(form.children.export.children.export) }} {{ form_widget(form.children.export.children.export) }}
{% endif %} {% endif %}
<div style="clear: both;"> <div style="clear: both; padding-top: 1.5em;">
<h2>{{ 'Formatter'| trans }}</h2> <h2>{{ 'Formatter'| trans }}</h2>
<p> {{ 'Choose the formatter'|trans }}</p> <p> {{ 'Choose the formatter'|trans }}</p>