recreate project
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<div class="container mt-5">
|
||||
<h2>Edit Emergency Contact</h2>
|
||||
|
||||
<form action="<?= base_url('administrator/emergency_contact/update/' . $contact['id']) ?>" method="post">
|
||||
<?= csrf_field() ?>
|
||||
<div class="form-group">
|
||||
<label>Name:</label>
|
||||
<input type="text" class="form-control" name="emergency_contact_name"
|
||||
value="<?= esc($contact['emergency_contact_name']) ?>" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Phone:</label>
|
||||
<input type="text" class="form-control" name="cellphone" value="<?= esc($contact['cellphone']) ?>"
|
||||
required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Relation:</label>
|
||||
<input type="text" class="form-control" name="relation" value="<?= esc($contact['relation']) ?>"
|
||||
required>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary">Update</button>
|
||||
<a href="<?= base_url('administrator/emergency_contact') ?>" class="btn btn-secondary">Cancel</a>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user