mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
51 lines
1.4 KiB
Twig
51 lines
1.4 KiB
Twig
{% extends '::base.html.twig' %}
|
|
|
|
{% block body -%}
|
|
<h1>CustomField list</h1>
|
|
|
|
<table class="records_list">
|
|
<thead>
|
|
<tr>
|
|
<th>Id</th>
|
|
<th>Label</th>
|
|
<th>Type</th>
|
|
<th>Active</th>
|
|
<th>Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for entity in entities %}
|
|
<tr>
|
|
<td><a href="{{ path('customfield_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
|
|
<td>{{ entity.label }}</td>
|
|
<td>{{ entity.type }}</td>
|
|
<td>{{ entity.active }}</td>
|
|
<td>
|
|
<ul>
|
|
<li>
|
|
<a href="{{ path('customfield_show', { 'id': entity.id }) }}">show</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ path('customfield_edit', { 'id': entity.id }) }}">edit</a>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<ul>
|
|
<li>
|
|
{{ form_start(form) }}
|
|
|
|
{{ form_row(form) }}
|
|
<button type="submit">
|
|
Create a new entry
|
|
</button>
|
|
|
|
{{ form_end(form) }}
|
|
</li>
|
|
</ul>
|
|
{% endblock %}
|