advanced search (bis)

Ce commit contient des modifications qui sont peut-être dans un autre commit d'une
autre branche.
This commit is contained in:
2018-04-04 09:46:30 +02:00
parent 08141fddee
commit 29e3c74bd7
8 changed files with 80 additions and 5 deletions

View File

@@ -0,0 +1,17 @@
{% extends "ChillMainBundle::Admin/layoutWithVerticalMenu.html.twig" %}
{% block admin_content %}
<h1>{{ 'Administration interface'|trans }}</h1>
{{ 'welcome_message_raw'|trans|raw }}
<div>
<h2>{{ 'Configuration alerts'|trans }}</h2>
<p>{{ 'Here you can check the configuration of your instance.'|trans }}</p>
{{ chill_widget('configuration_warnings', {}) }}
</div>
{% endblock %}

View File

@@ -17,10 +17,14 @@
{% extends "ChillMainBundle::layout.html.twig" %}
{% block title 'Advanced search for %name%'|trans({ '%name%' : name }) %}
{% block title title|trans %}
{% block content %}
<div style="margin-right: 2em; margin-left: 2em;">
<h1>{{ title|trans }}</h1>
{{ form_start(form) }}
{% for f in form %}
@@ -28,9 +32,7 @@
{{ form_row(f) }}
{% endif %}
{% endfor %}
<ul class="record_actions">
<li>
{{ form_widget(form.submit, { 'attr' : { 'class': 'sc-button bt-create change-icon' } } ) }}
@@ -39,4 +41,6 @@
{{ form_end(form) }}
</div>
{% endblock %}