Ajout de la connexion
This commit is contained in:
36
CodeIgniter-3.1.13/application/views/connexion.php
Normal file
36
CodeIgniter-3.1.13/application/views/connexion.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Connexion</title>
|
||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/connexion'); ?>">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h2>Connexion</h2>
|
||||
|
||||
<?php if (isset($error)): ?>
|
||||
<p class="error"><?php echo $error; ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo form_open('utilisateur/connexion'); ?>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="email">Email :</label>
|
||||
<input type="email" name="email" id="email" value="<?php echo set_value('email'); ?>" required>
|
||||
<?php echo form_error('email'); ?>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password">Mot de passe :</label>
|
||||
<input type="password" name="password" id="password" required>
|
||||
<?php echo form_error('password'); ?>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn-submit">Connexion</button>
|
||||
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user