1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-01-08 11:02:21 +00:00

Message informatif

This commit is contained in:
Yohann 2019-10-04 21:34:57 +02:00
parent dc3f81b6d3
commit 1c33c84a3a

View File

@ -113,30 +113,27 @@ if (!$has_error && (isset($my_account) || isset($new_password))) {
</div> </div>
</form> </form>
<?php if ($_SESSION["team"]->getValidationStatus() == ValidationStatus::NOT_READY) { ?>
<hr/> <hr/>
<div class="mt-4 mb-4"> <div class="mt-4 mb-4">
<h1 class="display-5">Autorisation de droit à l'image</h1> <h1 class="display-5">Autorisation de droit à l'image</h1>
</div> </div>
<?php <em>Ce document peut être modifié tant que l'équipe n'est pas validée.</em>
if (isset($_SESSION["team"])) { <?php printDocuments($documents); ?>
printDocuments($documents); <form method="POST" enctype="multipart/form-data">
if ($_SESSION["team"]->getValidationStatus() == ValidationStatus::NOT_READY) { ?> <div class="form-row">
<form method="POST" enctype="multipart/form-data"> <div class="form-group col-md-12">
<label for="document">Fichier :</label>
<div class="form-row"> <input class="form-control" type="file" id="document" name="document" required/>
<div class="form-group col-md-12">
<label for="document">Fichier :</label>
<input class="form-control" type="file" id="document" name="document" required/>
</div>
</div> </div>
</div>
<div class="form-group row"> <div class="form-group row">
<input class="btn btn-primary btn-lg btn-block" type="submit" name="send_document" <input class="btn btn-primary btn-lg btn-block" type="submit" name="send_document"
value="Envoyer le document"/> value="Envoyer le document"/>
</div> </div>
</form> </form>
<?php } <?php } ?>
} ?>
<?php require_once "footer.php" ?> <?php require_once "footer.php" ?>