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

Modifications mineures

This commit is contained in:
Yohann
2019-11-27 12:15:21 +01:00
parent 67420ed5c7
commit 0569fa8739
4 changed files with 11 additions and 15 deletions

View File

@ -69,7 +69,7 @@ if (!$has_error && (isset($my_account) || isset($new_password))) {
<div class="form-group col-md-6">
<label id="city_label" for="city">Ville de l'établissement :</label>
<input class="form-control" type="text" id="city" name="city"
value="<?php if (isset($user)) echo $user->getCity() ?>"/>
value="<?= $user->getCity() ?>"/>
</div>
</div>
@ -77,7 +77,7 @@ if (!$has_error && (isset($my_account) || isset($new_password))) {
<div class="form-group col-md-6">
<label id="country_label" for="country">Pays :</label>
<input class="form-control" type="text" id="country" name="country"
value="<?php if (isset($user)) echo $user->getCountry(); else echo "France" ?>"/>
value="<?= $user->getCountry() ?>"/>
</div>
<div class="form-group col-md-6">
<label id="class_label" for="class">Classe :</label>
@ -154,6 +154,9 @@ if (!$has_error && (isset($my_account) || isset($new_password))) {
<?php } ?>
<?php printDocuments($documents); ?>
<?php if ($not_validated) { ?>
<div class="alert alert-warning">
Le fichier doit être au format PDF, PNG ou JPEG et doit peser moins de 2 Mo.
</div>
<form method="POST" enctype="multipart/form-data">
<div class="form-row">