mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Adding CustomFieldsDefaultGroup Entity for specifying that a group is a default group ref #307
This commit is contained in:
30
Resources/views/CustomFieldsDefaultGroup/list.html.twig
Normal file
30
Resources/views/CustomFieldsDefaultGroup/list.html.twig
Normal file
@@ -0,0 +1,30 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block body -%}
|
||||
<h1>CustomFieldsDefaultGroup list</h1>
|
||||
|
||||
<table class="records_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Entity</th>
|
||||
<th>CustomFieldGroup</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for defaultGroup in defaultGroups %}
|
||||
<tr>
|
||||
<td>{{ defaultGroup.entity }}</td>
|
||||
<td>{{ defaultGroup.customFieldsGroup.name['fr'] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{{ form_start(form) }}
|
||||
{{ form_row(form.cFGroup) }}
|
||||
|
||||
<button type="submit">
|
||||
set as Default
|
||||
</button>
|
||||
{{ form_end(form) }}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user