37 lines
1.1 KiB
Twig

{% extends "@ChillEvent/Admin/index.html.twig" %}
{% block admin_content -%}
<h1>{{ 'Status'|trans }}</h1>
<table class="record_properties">
<tbody>
<tr>
<th>{{ 'Id'|trans }}</th>
<td>{{ entity.id }}</td>
</tr>
<tr>
<th>{{ 'Status'|trans }}</th>
<td>{{ entity.name|localize_translatable_string }}</td>
</tr>
<tr>
<th>{{ 'Type'|trans }}</th>
<td>{{ entity.type.name|localize_translatable_string }}</td>
</tr>
<tr>
<th>{{ 'Active'|trans }}</th>
<td>{{ entity.active }}</td>
</tr>
</tbody>
</table>
<ul class="record_actions sticky-form-buttons">
<li class="cancel">
<a href="{{ path('chill_event_admin_status') }}" class="btn btn-cancel">{{ 'Back to the list'|trans }}</a>
</li>
<li>
<a href="{{ path('chill_event_admin_status_edit', { 'id': entity.id }) }}" class="btn btn-edit">{{ 'Edit'|trans }}</a>
</li>
</ul>
{% endblock %}