From 4e59211750faec57c34071f66500c8ae6d3f1aab Mon Sep 17 00:00:00 2001 From: Mikhael Artur <mikhael.artur.d@gmail.com> Date: Sat, 7 Oct 2017 18:30:58 +0700 Subject: [PATCH] Added edit pref loc actions but not yet implemented, fix typos --- controller/delete-location.php | 0 ...-locations.php => edit-preferred-locations.php} | 14 ++++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 controller/delete-location.php rename view/{edit-prefered-locations.php => edit-preferred-locations.php} (85%) diff --git a/controller/delete-location.php b/controller/delete-location.php new file mode 100644 index 00000000..e69de29b diff --git a/view/edit-prefered-locations.php b/view/edit-preferred-locations.php similarity index 85% rename from view/edit-prefered-locations.php rename to view/edit-preferred-locations.php index a9bdc479..9aaeb537 100644 --- a/view/edit-prefered-locations.php +++ b/view/edit-preferred-locations.php @@ -1,6 +1,6 @@ <html> <head> - <title>Projekers - Edit Prefered Location</title> + <title>Projekers - Edit Preferred Location</title> <link rel = "stylesheet" href = "../css/edit-prefered-location.css"> <link rel = "stylesheet" href = "../css/primary.css"> <script src = "../js/edit-prefered-location.js"></script> @@ -56,17 +56,19 @@ </table> '; } else { - echo "No prefered location, add one using the box below."; + echo "No preferred location, add one using the box below."; } ?> <br> <br> <h2>ADD NEW LOCATION:</h2> <div class="addset"> - <div class="field"><input type="text"></div> - <div class="submitbutton"> - <input type="Submit" value="ADD" class="submit"> - </div> + <form name="addlocationform" method="post" action="add-location.php"> + <div class="field"><input type="text"></div> + <div class="submitbutton"> + <input type="Submit" value="ADD" class="submit"> + </div> + </form> </div> <br> <br> -- GitLab