Ajout de l'inscription
This commit is contained in:
47
CodeIgniter-3.1.13/application/views/inscription.php
Normal file
47
CodeIgniter-3.1.13/application/views/inscription.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Inscription</title>
|
||||
<link rel="stylesheet" href="<?php echo base_url('assets/css/inscription.css'); ?>">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h2>Inscription</h2>
|
||||
|
||||
<?php if (isset($error)): ?>
|
||||
<p class="error"><?php echo $error; ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo form_open('utilisateur/inscription'); ?>
|
||||
|
||||
<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="nom">Nom :</label>
|
||||
<input type="text" name="nom" id="nom" value="<?php echo set_value('nom'); ?>" required>
|
||||
<?php echo form_error('nom'); ?>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="prenom">Prénom :</label>
|
||||
<input type="text" name="prenom" id="prenom" value="<?php echo set_value('prenom'); ?>" required>
|
||||
<?php echo form_error('prenom'); ?>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="telephone">Téléphone :</label>
|
||||
<input type="text" name="telephone" id="telephone" value="<?php echo set_value('telephone'); ?>">
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn-submit">Inscription</button>
|
||||
|
||||
<?php echo form_close(); ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -29,7 +29,7 @@
|
||||
<a href="<?php echo site_url('artiste/list_artists'); ?>" class="btn-artistes">Artistes</a>
|
||||
<a href="<?php echo site_url('musiques'); ?>" class="btn-musiques">Musiques</a>
|
||||
<a href="#CONNEXIONBIENTOT" class="btn-connexion">Connexion</a>
|
||||
<a href="#INSCRIPTIONBIENTOT" class="btn-inscription">Inscription</a>
|
||||
<a href="<?php echo site_url('utilisateur/inscription'); ?>" class="btn-inscription">Inscription</a>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="menu-toggle">
|
||||
|
Reference in New Issue
Block a user