Files
cabinet/templates/review_source/index.html.twig
T
2026-05-28 12:09:28 +03:00

43 lines
1.2 KiB
Twig

{% extends 'admin_base.html.twig' %}
{% block title %}ReviewSource index{% endblock %}
{% block body %}
<h1>ReviewSource index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>CountRow</th>
<th>Rating</th>
<th>Filial</th>
<th>Active</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for review_source in review_sources %}
<tr>
<td>{{ review_source.id }}</td>
<td>{{ review_source.name }}</td>
<td>{{ review_source.countRow }}</td>
<td>{{ review_source.rating }}</td>
<td>{{ review_source.filial.address }}</td>
<td>{{ review_source.active }}</td>
<td>
<a href="{{ path('app_review_source_edit', {'id': review_source.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="6">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_review_source_new') }}">Create new</a>
{% endblock %}