Files
SAE_PHP_2024/CodeIgniter-3.1.13/application/views/create_user.php

33 lines
935 B
PHP

<form method="post">
<div class="grid">
<label for="prenom">
Prénom
<input type="text" id="prenom" name="prenom" placeholder="Prénom" required>
</label>
<label for="nom">
Nom
<input type="text" id="nom" name="nom" placeholder="nom" required>
</label>
</div>
<label for="email">Adresse mail</label>
<input type="email" id="email" name="email" placeholder="Email" required>
<div class="grid">
<label for="password">Password
<input type="password" id="password" name="password" placeholder="Password" required>
</label>
<label for="cpassword">Confirmation password
<input type="password" id="cpassword" name="cpassword" placeholder="Password" required>
</label>
</div>
<?php if ($this->session->flashdata('error')): ?>
<div class="alert-danger">
<?php echo $this->session->flashdata('error'); ?>
</div>
<?php endif; ?>
<br>
<br>
<button type="submit">Submit</button>
</form>