Summary Files Commits Branches @commit @diff @stats
path: root / src / views / dashboard.php
blob: 2312419634c136c8304be0f597e6f9327628f1a8 (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=\"get\">
			      <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>";
	}
?>