Modifications page d'accueil

This commit is contained in:
2024-06-03 09:43:40 +02:00
parent 96c879d0f9
commit baae5280b9
5 changed files with 55 additions and 47 deletions

View File

@@ -1,21 +1,28 @@
<?=validation_errors(); ?>
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
</head>
<body>
<?= validation_errors(); ?>
<?php if (isset($error)): ?>
<p style="color: red;"><?= $error ?></p>
<?php endif; ?>
<?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>
<?= 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>
<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>