1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-25 16:17:24 +02:00

Sécurité

This commit is contained in:
Yohann D'ANELLO
2020-01-22 22:18:55 +01:00
parent c64ef0646e
commit 2ee1c75d0c
3 changed files with 10 additions and 8 deletions

View File

@ -22,11 +22,13 @@ if (isset($user) && !$has_error) {
<form method="POST">
<div class="form-group row">
<label for="role">Rôle :</label>
<select id="role" name="role" onchange="selectRole()" class="custom-select">
<option value="participant"><?= Role::getTranslatedName(Role::PARTICIPANT) ?></option>
<option value="encadrant"><?= Role::getTranslatedName(Role::ENCADRANT) ?></option>
</select>
<div class="form-group col-md-12">
<label for="role">Rôle :</label>
<select id="role" name="role" onchange="selectRole()" class="custom-select">
<option value="participant"><?= Role::getTranslatedName(Role::PARTICIPANT) ?></option>
<option value="encadrant"><?= Role::getTranslatedName(Role::ENCADRANT) ?></option>
</select>
</div>
</div>
<div class="form-row">