added filter dropdown

This commit is contained in:
Joshua Perry 2023-01-25 16:06:44 +00:00
parent 400ae03adc
commit 69da9ef69b
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,13 @@
<h2>Jobs</h2>
<a class="new" href="addjob.php">Add new job</a>
<form method="post" action="portal/">
<label for="filter">Filter:</label>
<select name="filter">
<?php foreach ($cats as $cat) { ?>
<option value="<?=$cat->id?>"><?=$cat->name?></option>
<?php } ?>
</select>
<input type="submit" name="submit" value="filter" />
<table>
<thead>
<tr>