51 lines
1.3 KiB
Twig
51 lines
1.3 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}User{% endblock %}
|
|
|
|
{% block body %}
|
|
<h1>User</h1>
|
|
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>Id</th>
|
|
<td>{{ user.id }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Email</th>
|
|
<td>{{ user.email }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>FirstName</th>
|
|
<td>{{ user.FirstName }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>LastName</th>
|
|
<td>{{ user.LastName }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>BirthDate</th>
|
|
<td>{{ user.BirthDate ? user.BirthDate|date('Y-m-d') : '' }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Phone</th>
|
|
<td>{{ user.Phone }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Roles</th>
|
|
<td>{{ user.roles ? user.roles|json_encode : '' }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Password</th>
|
|
<td>{{ user.password }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<a href="{{ path('app_user_index') }}">back to list</a>
|
|
|
|
<a href="{{ path('app_user_edit', {'id': user.id}) }}">edit</a>
|
|
|
|
{{ include('user/_delete_form.html.twig') }}
|
|
{% endblock %}
|