Ver código fonte

Deleted old location add form.

Alan Lam 8 anos atrás
pai
commit
a9405a78ab
1 arquivos alterados com 0 adições e 15 exclusões
  1. 0 15
      views/location_add_form.php

+ 0 - 15
views/location_add_form.php

@@ -1,15 +0,0 @@
-<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>