mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-11-26 16:47:10 +00:00
54 lines
1.2 KiB
PHP
54 lines
1.2 KiB
PHP
<?php
|
|
if (isset($error_message)) {
|
|
if ($error_message !== false) {
|
|
echo "<h2>Erreur : " . $error_message . "</h2>";
|
|
} else {
|
|
echo "<h2>Organisateur ajouté avec succès ! Ses identifiants ont été transmis par mail.</h2>";
|
|
}
|
|
} ?>
|
|
|
|
<form method="POST">
|
|
<input type="hidden" name="submitted" value="true"/>
|
|
<table style="width: 100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="width: 30%;">
|
|
<label for="surname">Nom :</label>
|
|
</td>
|
|
<td style="width: 70%;">
|
|
<input style="width: 100%;" type="text" id="surname" name="surname"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="first_name">Prénom :</label>
|
|
</td>
|
|
<td>
|
|
<input style="width: 100%;" type="text" id="first_name" name="first_name"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="email">Email :</label>
|
|
</td>
|
|
<td>
|
|
<input style="width: 100%;" type="email" id="email" name="email"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="admin">Compte administrateur :</label>
|
|
</td>
|
|
<td>
|
|
<input style="width: 100%;" type="checkbox" id="admin" name="admin"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<input style="width: 100%;" type="submit" value="Ajouter un organisateur"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|