mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added user/delete view
This commit is contained in:
16
application/views/user/delete.php
Normal file
16
application/views/user/delete.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<h2>Edit user</h2>
|
||||
<div class="wrap_content user">
|
||||
<?php echo validation_errors(); ?>
|
||||
|
||||
<form method="post" action="<?php echo site_url('user/delete')."/".$this->uri->segment(3); ?>" name="users">
|
||||
<table>
|
||||
<tr>
|
||||
<td style="padding: 10px;">Are you sure you want to delete <?php echo $user_name; ?>?</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
|
||||
<div><input type="submit" value="Yes, delete this user" /> <a href="<?php echo site_url('user'); ?>">No, do not delete this user</a></div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user