Summary Files Commits Branches @commit @diff @stats
path: root / src / views / dashboard.php
blob: b1b648c505e41b1492a99d55d04df7c59134b045 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
	foreach($jobs as $job) {
		echo "{$job->id} {$job->title}
			  <form method=\"post\">
			      <input type=\"hidden\" name=\"_method\" value=\"put\">
			      <input type=\"hidden\" name=\"jobId\" value=\"{$job->id}\">
			      <input type=\"submit\" value=\"Edit\">
			  </form>
			  <form method=\"post\">
			      <input type=\"hidden\" name=\"_method\" value=\"delete\">
			      <input type=\"hidden\" name=\"jobId\" value=\"{$job->id}\">
			      <input type=\"submit\" value=\"Delete\">
			  </form>
			  <br>";
	}
?>