mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-04 16:06:13 +00:00
fix customfieldsgroup edit view
This commit is contained in:
parent
e1435d0883
commit
45d34dc312
@ -18,6 +18,7 @@ Add a new field: Ajouter un champ personnalisé
|
|||||||
ordering: ordre
|
ordering: ordre
|
||||||
label_field: label du champ
|
label_field: label du champ
|
||||||
active: actif
|
active: actif
|
||||||
|
CustomFieldsGroup edit: Edition d'un groupe de champs personnalisé
|
||||||
|
|
||||||
|
|
||||||
#menu entries
|
#menu entries
|
||||||
|
@ -16,17 +16,30 @@
|
|||||||
#}
|
#}
|
||||||
{% extends "ChillCustomFieldsBundle::Admin/layout.html.twig" %}
|
{% extends "ChillCustomFieldsBundle::Admin/layout.html.twig" %}
|
||||||
|
|
||||||
{% block admin_content %}
|
{% block title %}{{ 'CustomFieldsGroup edit'|trans }}{% endblock %}
|
||||||
<h1>CustomFieldsGroup edit</h1>
|
|
||||||
|
|
||||||
{{ form(edit_form) }}
|
{% block admin_content %}
|
||||||
|
<h1>{{ 'CustomFieldsGroup edit'|trans }}</h1>
|
||||||
|
|
||||||
|
{{ form_start(edit_form) }}
|
||||||
|
{{ form_row(edit_form.name) }}
|
||||||
|
{{ form_row(edit_form.entity) }}
|
||||||
|
{% if edit_form.options is defined %}
|
||||||
|
{{ form_row(edit_form.options) }}
|
||||||
|
{% endif %}
|
||||||
|
{{ form_row(edit_form.submit, { 'attr': { 'class': 'sc-button bt-edit' } } ) }}
|
||||||
|
{{ form_end(edit_form) }}
|
||||||
|
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ path('customfieldsgroup') }}">
|
<a href="{{ path('customfieldsgroup') }}" class="sc-button bt-cancel">
|
||||||
Back to the list
|
{{ 'Back to the list'|trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="{{ path('customfieldsgroup_show', { 'id' : entity.id }) }}" class="sc-button bt-cancel">
|
||||||
|
{{ 'show'|trans|capitalize }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>{{ form(delete_form) }}</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user