hegresphere/templates/degree/index.html.twig
2024-11-21 17:04:56 +01:00

36 lines
931 B
Twig

{% extends 'base.html.twig' %}
{% block title %}Degree index{% endblock %}
{% block body %}
<h1>Degree index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Label</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for degree in degrees %}
<tr>
<td>{{ degree.id }}</td>
<td>{{ degree.label }}</td>
<td>
<a href="{{ path('app_degree_show', {'id': degree.id}) }}">show</a>
<a href="{{ path('app_degree_edit', {'id': degree.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="3">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_degree_new') }}">Create new</a>
{% endblock %}