소스 검색

Deleted old location add form.

Alan Lam 8 년 전
부모
커밋
a9405a78ab
1개의 변경된 파일과 0개의 추가작업 그리고 15개의 파일을 삭제
  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>