hegresphere/templates/skill/index.html.twig

36 lines
920 B
Twig
Raw Normal View History

2024-11-21 17:04:56 +01:00
{% extends 'base.html.twig' %}
{% block title %}Skill index{% endblock %}
{% block body %}
<h1>Skill index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Label</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for skill in skills %}
<tr>
<td>{{ skill.id }}</td>
<td>{{ skill.label }}</td>
<td>
<a href="{{ path('app_skill_show', {'id': skill.id}) }}">show</a>
<a href="{{ path('app_skill_edit', {'id': skill.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="3">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_skill_new') }}">Create new</a>
{% endblock %}