Summary Files Commits Branches @commit @diff @stats
path: root / src / views
diff options
context:
space:
mode:
2 files changed, 7 insertions, 1 deletions
-rw-r--r--src/views/create-offer.php6
-rw-r--r--src/views/landing.php2
diff --git a/src/views/create-offer.php b/src/views/create-offer.php
index 2bdeeaf..9162c90 100644
--- a/src/views/create-offer.php
+++ b/src/views/create-offer.php
@@ -9,7 +9,11 @@
<br>
<label for="company">Company: </label>
<select name="company">
- <option>Test</option>
+ <?php
+ foreach(self::$companies as $company) {
+ echo "<option value=\"{$company->id}\">{$company->name}</option>";
+ }
+ ?>
</select>
<br>
<label for="salary">Salary: </label>
diff --git a/src/views/landing.php b/src/views/landing.php
index 06e32a5..e6477ee 100644
--- a/src/views/landing.php
+++ b/src/views/landing.php
@@ -5,3 +5,5 @@
echo "{$job->id} {$job->title}<br>";
}
?>
+
+<a href="/CreateOffer">Create a new Job Offer</a>