From 1856de8c22af1a762961547f042891d5b6f9455c Mon Sep 17 00:00:00 2001
From: Syndamia
Date: Sat, 3 Apr 2021 10:36:27 +0300
Subject: Added skeleton of edit offer and implemented edit and delete buttons
in dashboard offers
---
src/controllers/DashboardController.php | 14 ++++++++++++++
src/controllers/DashboardLoginController.php | 8 ++++++--
src/controllers/EditOfferController.php | 5 +++++
src/views/dashboard.php | 17 ++++++++++++++++-
src/views/edit-offer.php | 1 +
5 files changed, 42 insertions(+), 3 deletions(-)
create mode 100644 src/controllers/EditOfferController.php
create mode 100644 src/views/edit-offer.php
(limited to 'src')
diff --git a/src/controllers/DashboardController.php b/src/controllers/DashboardController.php
index 84beb14..7c01efa 100644
--- a/src/controllers/DashboardController.php
+++ b/src/controllers/DashboardController.php
@@ -1,8 +1,22 @@
Dashboard works!
+id} {$job->title}
+
+
+
";
+ }
+?>
diff --git a/src/views/edit-offer.php b/src/views/edit-offer.php
new file mode 100644
index 0000000..957fc3d
--- /dev/null
+++ b/src/views/edit-offer.php
@@ -0,0 +1 @@
+Works!
--
cgit v1.3.1-26-gb76a