23 lines
1.1 KiB
PHP
23 lines
1.1 KiB
PHP
<div class="content-wrapper">
|
|
<div class="container">
|
|
<h1>Edit Teacher</h1>
|
|
<form action="teacher/update/<?php echo $teacher['id']; ?>" method="POST">
|
|
<div class="form-group">
|
|
<label for="firstname">First Name:</label>
|
|
<input type="text" class="form-control" id="firstname" name="firstname"
|
|
value="<?php echo $teacher['firstname']; ?>" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="lastname">Last Name:</label>
|
|
<input type="text" class="form-control" id="lastname" name="lastname"
|
|
value="<?php echo $teacher['lastname']; ?>" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email">Email:</label>
|
|
<input type="email" class="form-control" id="email" name="email"
|
|
value="<?php echo $teacher['email']; ?>" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Update</button>
|
|
</form>
|
|
</div>
|
|
</div> |