32 lines
2.2 KiB
PHTML
32 lines
2.2 KiB
PHTML
<button type="button" class="col btn bg-primary btn-outline-primary text-light" data-bs-toggle="modal" data-bs-target="#createModal">
|
|
<span class="bi bi-pen-fill"></span>
|
|
</button>
|
|
<div class="modal fade" id="createModal" tabindex="-1" aria-labelledby="updateModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title" id="updateModalLabel">Add Facility</h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<form method="post" action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>">
|
|
<form class="form-inline" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?> ">
|
|
<input name="titlCreate" class="form-control rounded mb-2" placeholder="Title">
|
|
<input name="cateCreate" class="form-control rounded mb-2" placeholder="Category">
|
|
<input name="descCreate" class="form-control rounded mb-2" placeholder="Description">
|
|
<input name="statCreate" class="form-control rounded mb-2" placeholder="Status">
|
|
<input name="strtCreate" class="form-control rounded mb-2" placeholder="Street Name">
|
|
<input name="cntyCreate" class="form-control rounded mb-2" placeholder="County">
|
|
<input name="townCreate" class="form-control rounded mb-2" placeholder="Town">
|
|
<input name="postCreate" class="form-control rounded mb-2" placeholder="Postcode">
|
|
<input name="contCreate" class="form-control rounded mb-2" placeholder="Contributor">
|
|
</form>
|
|
<button type="submit" class="btn bg-primary btn-outline-primary text-light" name="updateButton">Add</button>
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-warning" data-bs-dismiss="modal">Close</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|