2024-11-21 17:55:00 +01:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Employee{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<h1>Employee</h1>
|
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Id</th>
|
|
|
|
<td>{{ employee.id }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Email</th>
|
|
|
|
<td>{{ employee.email }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>FirstName</th>
|
|
|
|
<td>{{ employee.firstName }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>LastName</th>
|
|
|
|
<td>{{ employee.lastName }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Roles</th>
|
|
|
|
<td>{{ employee.roles ? employee.roles|json_encode : '' }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2024-11-28 14:30:11 +01:00
|
|
|
<a href="{{ path('employee_index') }}">back to list</a>
|
2024-11-21 17:55:00 +01:00
|
|
|
|
2024-11-28 14:30:11 +01:00
|
|
|
<a href="{{ path('employee_edit', {'id': employee.id}) }}">edit</a>
|
2024-11-21 17:55:00 +01:00
|
|
|
|
|
|
|
{{ include('employee/_delete_form.html.twig') }}
|
|
|
|
{% endblock %}
|