connexion presque finie
This commit is contained in:
21
application/views/login.php
Normal file
21
application/views/login.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?=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>
|
Reference in New Issue
Block a user