mirror of
https://grond.iut-fbleau.fr/stiti/SAE_2.02
synced 2024-12-27 01:12:18 +01:00
Correction de la correction
This commit is contained in:
parent
0fe46ae2fb
commit
ce612f2b55
@ -53,26 +53,26 @@
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="comment-form">
|
||||
<?php if ($this->session->userdata('user_id')): ?>
|
||||
<h2>Ajouter un commentaire</h2>
|
||||
<form action="<?php echo site_url('utilisateur/ajouter_avis'); ?>" method="post">
|
||||
<textarea name="commentaire" rows="3" placeholder="Écrivez votre commentaire ici..." required></textarea>
|
||||
<!-- Ajout des étoiles pour la notation -->
|
||||
<h3>Note :</h3>
|
||||
<div class="rating">
|
||||
<input type="radio" id="star1" name="rating" value="1" checked><label for="star1">★</label>
|
||||
<input type="radio" id="star2" name="rating" value="2"><label for="star2">★</label>
|
||||
<input type="radio" id="star3" name="rating" value="3"><label for="star3">★</label>
|
||||
<input type="radio" id="star4" name="rating" value="4"><label for="star4">★</label>
|
||||
<input type="radio" id="star5" name="rating" value="5"><label for="star5">★</label>
|
||||
</div>
|
||||
<!-- Champ caché pour stocker la valeur de notation -->
|
||||
<input type="hidden" name="notation" id="notation">
|
||||
<button type="submit">Ajouter</button>
|
||||
</form>
|
||||
<div class="comment-form">
|
||||
<h2>Ajouter un commentaire</h2>
|
||||
<form action="<?php echo site_url('utilisateur/ajouter_avis'); ?>" method="post">
|
||||
<textarea name="commentaire" rows="3" placeholder="Écrivez votre commentaire ici..." required></textarea>
|
||||
<!-- Ajout des étoiles pour la notation -->
|
||||
<h3>Note :</h3>
|
||||
<div class="rating">
|
||||
<input type="radio" id="star1" name="rating" value="1" checked><label for="star1">★</label>
|
||||
<input type="radio" id="star2" name="rating" value="2"><label for="star2">★</label>
|
||||
<input type="radio" id="star3" name="rating" value="3"><label for="star3">★</label>
|
||||
<input type="radio" id="star4" name="rating" value="4"><label for="star4">★</label>
|
||||
<input type="radio" id="star5" name="rating" value="5"><label for="star5">★</label>
|
||||
</div>
|
||||
<!-- Champ caché pour stocker la valeur de notation -->
|
||||
<input type="hidden" name="notation" id="notation">
|
||||
<button type="submit">Ajouter</button>
|
||||
</form>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="gallery">
|
||||
<h2>Ils nous ont fait confiance</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user