1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-25 05:00:28 +02:00

Suppression des hidden tags "submitted"

This commit is contained in:
galaxyoyo
2019-09-24 23:18:32 +02:00
parent b6fd5121e1
commit 8d9eeda153
12 changed files with 17 additions and 22 deletions

View File

@ -1,12 +1,13 @@
<?php
require_once "header.php";
if (isset($admin) && !$has_error) {
echo "<h2>Organisateur ajouté avec succès ! Ses identifiants ont été transmis par mail.</h2>";
} ?>
if (isset($admin) && !$has_error) { ?>
<div class="alert alert-success">
Organisateur ajouté avec succès ! Ses identifiants ont été transmis par mail.
</div>
<?php } ?>
<form method="POST">
<input type="hidden" name="submitted" value="true"/>
<table style="width: 100%;">
<tbody>
<tr>
@ -35,7 +36,7 @@ if (isset($admin) && !$has_error) {
</tr>
<tr>
<td colspan="2">
<input style="width: 100%;" type="submit" value="Ajouter un administrateur"/>
<input style="width: 100%;" type="submit" name="add_admin" value="Ajouter un administrateur"/>
</td>
</tr>
</tbody>