30 lines
818 B
PHP
30 lines
818 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Login</title>
|
|
</head>
|
|
<body>
|
|
<?= validation_errors(); ?>
|
|
|
|
<?php if (isset($error)): ?>
|
|
<p style="color: red;"><?= $error ?></p>
|
|
<?php endif; ?>
|
|
|
|
<?= form_open('connect/login') ?>
|
|
<!-- Grid -->
|
|
<div class="grid">
|
|
<label for="email">Adresse mail</label>
|
|
<input type="email" id="email" name="email" placeholder="Email" value="<?= set_value('email') ?>" required>
|
|
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" placeholder="Password" value="<?= set_value('password') ?>" required>
|
|
</div>
|
|
<!-- Button -->
|
|
<button type="submit">Submit</button>
|
|
|
|
<?= anchor('connect/create', "Pas de compte ? Créez-en un !"); ?>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
|