50 lines
1.5 KiB
Twig
50 lines
1.5 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}UserApp index{% endblock %}
|
|
|
|
{% block body %}
|
|
<h1>UserApp index</h1>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Id</th>
|
|
<th>Nickname</th>
|
|
<th>Roles</th>
|
|
<th>Password</th>
|
|
<th>FirstName</th>
|
|
<th>LastName</th>
|
|
<th>Tel</th>
|
|
<th>Address</th>
|
|
<th>Mail</th>
|
|
<th>actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for user_app in user_apps %}
|
|
<tr>
|
|
<td>{{ user_app.id }}</td>
|
|
<td>{{ user_app.nickname }}</td>
|
|
<td>{{ user_app.roles ? user_app.roles|json_encode : '' }}</td>
|
|
<td>{{ user_app.password }}</td>
|
|
<td>{{ user_app.firstName }}</td>
|
|
<td>{{ user_app.lastName }}</td>
|
|
<td>{{ user_app.tel }}</td>
|
|
<td>{{ user_app.address }}</td>
|
|
<td>{{ user_app.mail }}</td>
|
|
<td>
|
|
<a href="{{ path('app_user_app_show', {'id': user_app.id}) }}">show</a>
|
|
<a href="{{ path('app_user_app_edit', {'id': user_app.id}) }}">edit</a>
|
|
</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="10">no records found</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<a href="{{ path('app_user_app_new') }}">Create new</a>
|
|
{% endblock %}
|