- <div class="container mt-3 py-4">
- <h2>Add Location</h2>
- <form method="post">
- <div class="form-group">
- <label for="name">Name</label>
- <input class="form-control" type="text" name="name" id="name" placeholder="Enter name" value="<?=htmlspecialchars($location->name)?>" required />
- </div>
- <div class="form-group">
- <label for="address">Full Address</label>
- <input class="form-control" type="text" name="address" id="address" placeholder="Enter full address" value="<?=htmlspecialchars($location->address_1)?>" required />
- </div>
- <button class="btn btn-primary" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>">Add</button>
- </form>
- </div>
|