feat: Adds employee form and table view, begins user form and table view.

This commit is contained in:
2025-01-07 14:05:40 -05:00
parent e3f150b32c
commit 08a0a8e1a3
15 changed files with 366 additions and 93 deletions

View File

@@ -0,0 +1,22 @@
<div id="home-conent" class="container">
<div class="container">
<h1>Employees</h1>
<br>
<p>Employees are who purchase orders can be generated for.</p>
<br>
</div>
<form class="employee-form"
hx-post="/employees"
hx-target="#employee-table"
hx-swap="outerHTML"
>
<label for="firstName">First Name</label>
<input type="text" id="firstName" name="firstName" placeholder="First Name" autofocus required>
<br>
<label for="lastName">Last Name</label>
<input type="text" id="lastName" name="lastName" placeholder="Last Name" required>
<br>
<input type="submit" value="Create">
</form>
#extend("employee-table")
</div>