{% 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 une chambre</h2>
</div>

<form method="POST">
    <input type="hidden" value="{{image_chambre.id_chambre.id}}" id="id_chambre" name="id_chambre" class="form-control">
    <input type="hidden" value="{{image_chambre.id}}" id="id_image_chambre" name="id_image_chambre" class="form-control">
    <input type="text" value="{{image_chambre.id_chambre.nom}}" id="nom" name="nom" placeholder="Nom" class="form-control">
    <input type="text" value="{{image_chambre.id_chambre.prix}}" id="prix" name="prix" placeholder="prix" class="form-control">
    <input type="text" value="{{image_chambre.id_chambre.nbr_lit}}" id="nbr_lit" name="nbr_lit" placeholder="Nombre de lits" class="form-control">
    <input type="text" value="{{image_chambre.id_chambre.num_chambre}}" id="num_chambre" name="num_chambre" placeholder="Numéro chambre" class="form-control">
    <input type="text" value="{{image_chambre.id_chambre.description}}" id="description" name="description" placeholder="Description" class="form-control">
    <input type="text" value="{{image_chambre.id_chambre.superficie}}" id="superficie" name="superficie" placeholder="Superficie" class="form-control">
    <input type="text" value="{{image_chambre.id_chambre.etat}}" id="etat" name="etat" placeholder="Disponibilité" class="form-control">
    <input type="text" value="{{image_chambre.lien_image}}" id="lien_image" name="lien_image" placeholder="Lien image" class="form-control">
    <input type="text" value="{{image_chambre.id_chambre.id_type_chambre.getId()}}" id="id_type_chambre" name="id_type_chambre" placeholder="Type chambre" class="form-control">
    
    <input type="submit" value="Modifier">
</form>



{% endblock %} 
