23 lines
No EOL
838 B
PHP
23 lines
No EOL
838 B
PHP
<section aria-label="Se connecter">
|
|
<?php if (count($arrError) > 0) {?>
|
|
<div class="alert alert-danger">
|
|
<?php foreach ($arrError as $strError){ ?>
|
|
<p><?php echo $strError; ?></p>
|
|
<?php } ?>
|
|
</div>
|
|
<?php } ?>
|
|
<form method="post">
|
|
<p>
|
|
<label>Mail:</label>
|
|
<input name="mail" value="<?php echo($strMail); ?>"
|
|
class="form-control <?php if (isset($arrError['mail'])) { echo 'is-invalid'; } ?> " type="text" >
|
|
</p>
|
|
<p>
|
|
<label>Mot de passe:</label>
|
|
<input name="pwd" class="form-control <?php if (isset($arrError['pwd'])) { echo 'is-invalid'; } ?> " type="text" >
|
|
</p>
|
|
<p>
|
|
<input class="form-control btn btn-primary" type="submit" >
|
|
</p>
|
|
</form>
|
|
</section>
|