mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
fix "create" page with translation and layout
This commit is contained in:
parent
9d65ca5088
commit
bb1e690bec
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
Custom fields configuration: Configuration des champs personnalisés
|
Custom fields configuration: Configuration des champs personnalisés
|
||||||
CustomFieldsGroup list: Groupes de champs personnalisés
|
CustomFieldsGroup list: Groupes de champs personnalisés
|
||||||
|
CustomFieldsGroup creation: Nouveau groupe de champs personnalisés
|
||||||
Entity: Entité
|
Entity: Entité
|
||||||
"Is default ?": "Par défaut ?"
|
"Is default ?": "Par défaut ?"
|
||||||
"Some module select default groups for some usage. Example: the default person group is shown under person page.": "Certains modules sélectionnent en priorité les formulaires par défaut. Exemple: le formulaire par défaut pour une personne est affiché sur la page principale pour la personne"
|
"Some module select default groups for some usage. Example: the default person group is shown under person page.": "Certains modules sélectionnent en priorité les formulaires par défaut. Exemple: le formulaire par défaut pour une personne est affiché sur la page principale pour la personne"
|
||||||
|
@ -57,11 +57,9 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<ul>
|
<p>
|
||||||
<li>
|
<a href="{{ path('customfieldsgroup_new') }}" class="sc-button bt-create">
|
||||||
<a href="{{ path('customfieldsgroup_new') }}">
|
{{ 'Create a new group'|trans }}
|
||||||
{{ 'Create a new group'|trans }}
|
</a>
|
||||||
</a>
|
</p>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -17,15 +17,16 @@
|
|||||||
{% extends "ChillCustomFieldsBundle::Admin/layout.html.twig" %}
|
{% extends "ChillCustomFieldsBundle::Admin/layout.html.twig" %}
|
||||||
|
|
||||||
{% block admin_content %}
|
{% block admin_content %}
|
||||||
<h1>CustomFieldsGroup creation</h1>
|
<h1>{{ 'CustomFieldsGroup creation'|trans }}</h1>
|
||||||
|
|
||||||
{{ form(form) }}
|
{{ form_start(form) }}
|
||||||
|
{{ form_row(form.name) }}
|
||||||
<ul class="record_actions">
|
{{ form_row(form.entity) }}
|
||||||
<li>
|
<p>
|
||||||
<a href="{{ path('customfieldsgroup') }}">
|
{{ form_widget(form.submit, { 'attr' : { 'class': 'sc-button bt-create' } } ) }}
|
||||||
Back to the list
|
<a href="{{ path('customfieldsgroup') }}" class="sc-button bt-cancel">
|
||||||
|
{{ 'Back to the list'|trans }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</p>
|
||||||
</ul>
|
{{ form_end(form) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user