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

Minor fixes

This commit is contained in:
Yohann D'ANELLO
2020-02-21 23:26:47 +01:00
parent 88dcb68aa8
commit 45426e6835
7 changed files with 14 additions and 7 deletions

View File

@ -74,7 +74,7 @@ if ($user->getRole() == Role::PARTICIPANT || $user->getRole() == Role::ENCADRANT
</div>
<div class="alert alert-info">
<strong>Sexe :</strong> <?= $user->getGender() == "M" ? "Masculin" : "Féminin" ?><br />
<strong>Genre :</strong> <?= $user->getGender() == "M" ? "Masculin" : "Féminin" ?><br />
</div>
<div class="alert alert-info">
@ -93,7 +93,7 @@ if ($user->getRole() == Role::PARTICIPANT || $user->getRole() == Role::ENCADRANT
<?php if ($user->getRole() == Role::PARTICIPANT) { ?>
<div class="alert alert-info">
Lycée : <?= $user->getSchool() ?><br />
Classe : <?php SchoolClass::getTranslatedName($user->getClass()) ?>
Classe : <?= SchoolClass::getTranslatedName($user->getClass()) ?>
</div>
<div class="alert alert-info">

View File

@ -72,7 +72,7 @@ if (isset($user) && !$has_error) {
<div class="form-row">
<div class="form-group col-md-6">
<label for="gender" class="mr-2">Sexe :</label>
<label for="gender" class="mr-2">Genre :</label>
<br/>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" class="custom-control-input" id="male" name="gender" value="M"

View File

@ -61,7 +61,7 @@ if (!$has_error && (isset($my_account) || isset($new_password))) {
<div class="form-row">
<div class="form-group col-md-6">
<label for="gender" class="mr-2">Sexe :</label>
<label for="gender" class="mr-2">Genre :</label>
<br/>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" class="custom-control-input" id="male" name="gender" value="M"