39 lines
1.3 KiB
Twig
39 lines
1.3 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Gestion User{% endblock %}
|
|
|
|
{% block body %}
|
|
<style>
|
|
</style>
|
|
|
|
<form id="UpdateUser" action="{{ path('update-user', { 'id': app.user.id }) }}" method="post">
|
|
<div id="InformationUser">
|
|
<div class="user-info-item">
|
|
<span class="user-info-label">Nom :</span>
|
|
<span class="user-info-value">{{ app.user.nom }}</span>
|
|
</div>
|
|
<div class="user-info-item">
|
|
<span class="user-info-label">Prénom :</span>
|
|
<span class="user-info-value">{{ app.user.prenom }}</span>
|
|
</div>
|
|
<div class="user-info-item">
|
|
<span class="user-info-label">Email :</span>
|
|
<span class="user-info-value">{{ app.user.userIdentifier }}</span>
|
|
</div>
|
|
<div class="user-info-item">
|
|
<span class="user-info-label">Roles :</span>
|
|
<span class="user-info-value">{{ app.user.getRolesAsString() }}</span>
|
|
</div>
|
|
|
|
<div class="btn-update">
|
|
<button class="btn-update">Modifier</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
{% endblock %}
|
|
|
|
{% block javascripts %}
|
|
<script src="{{ asset('js/test.js') }}" defer></script>
|
|
{% endblock %}
|