Jimmy Monin 57708e3169 Initial commit
Functional, without SSO
2016-09-18 11:03:26 +02:00

26 lines
875 B
PHTML

<form action="" method="post">
<h2>Identifiez-vous</h2>
<dl>
<dt>
<label for="username">Nom d'utilisateur</label>
</dt>
<dd>
<input type="text" id="username" name="username" value="<?php
echo htmlspecialchars($username);
?>" />
<?php if (isset($errors["username"])) : ?>
<p class="error"><?php echo $errors["username"]; ?></p>
<?php endif; ?>
</dd>
<dt>
<label for="password">Mot de passe</label>
</dt>
<dd>
<input type="password" id="password" name="password" />
<?php if (isset($errors["password"])) : ?>
<p class="error"><?php echo $errors["password"]; ?></p>
<?php endif; ?>
</dd>
</dl>
<p><input type="submit" value="Connexion" /></p>
</form>