{% extends "base.html.twig" %}

{% block title %} {{ parent() }} Accueil {% endblock %}
       
{% block content %} 

<style>

form {
    max-width: 400px;
    margin: auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-control {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    box-sizing: border-box;
}
</style>

<!--Pannel de gestion et d'administration des comptes des utilisateurs du site -->
<div class="noir_centre">
	<h2 class="or">Modifier un compte</h2>
</div>

<form method="POST">
    <input type="hidden" value="{{compte.id}}" id="id_compte" name="id_compte" class="form-control">
    <input type="text" value="{{compte.nom}}" id="nom" name="nom" placeholder="Nom" class="form-control">
    <input type="text" value="{{compte.prenom}}" id="prenom" name="prenom" placeholder="prenom" class="form-control">
    <input type="text" value="{{compte.num_telephone}}" id="num_telephone" name="num_telephone" placeholder="Telephone" class="form-control">
    <input type="text" value="{{compte.mail}}" id="mail" name="mail" placeholder="Mail" class="form-control">
    <input type="text" value="{{compte.mot_de_passe}}" id="mot_de_passe" name="mot_de_passe" placeholder="Mot de passe" class="form-control">
    <input type="text" value="{{compte.id_role.getId_role()}}" id="id_role" name="id_role" placeholder="Role" class="form-control">
    <input type="submit" value="Modifier">
</form>



{% endblock %} 
