mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-11-27 06:53:11 +00:00
28 lines
784 B
PHP
28 lines
784 B
PHP
<?php if (isset($error_message) && $error_message === false) { ?>
|
|
Vous avez bien rejoint l'équipe <?= $_SESSION["team"]->getName() ?> !
|
|
<?php } else { ?>
|
|
|
|
<?php if (isset($error_message) && $error_message) echo "<h2>Erreur : " . $error_message . "</h2>"; ?>
|
|
|
|
<form method="POST">
|
|
<input type="hidden" name="submitted" value="true" />
|
|
<table style="width: 100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="width: 30%;">
|
|
<label for="access_code">Code d'accès :</label>
|
|
</td>
|
|
<td style="width: 70%;">
|
|
<input style="width: 100%;" type="text" id="access_code" name="access_code" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<input style="width: 100%;" type="submit" value="Rejoindre l'équipe" />
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
|
|
<?php } ?>
|