Making adding a part manually less exhausting

This commit is contained in:
Ian Roddis committed 2026-09-24 22:07:02 -03:00
1 parent 8860c5691f
commit e81c368663
1 file changed
+3 -3
+3 -3
View File
@@ -5,8 +5,8 @@
<main class="container"> <main class="container">
<h1>Augmented Parts</h1> <h1>Augmented Parts</h1>
<div class="card"> <details class=card>
<h2>Add part</h2> <summary>Add a part</summary>
<form hx-post="/admin/augmented-parts" hx-target="#augmented-part-list" hx-swap="outerHTML" class="form-grid"> <form hx-post="/admin/augmented-parts" hx-target="#augmented-part-list" hx-swap="outerHTML" class="form-grid">
<label>SKU <input type="text" name="sku" placeholder="optional"></label> <label>SKU <input type="text" name="sku" placeholder="optional"></label>
<label>Description <input type="text" name="description" required></label> <label>Description <input type="text" name="description" required></label>
@@ -54,7 +54,7 @@
<label class="check"><input type="checkbox" name="preferred_part" value="true"> Preferred part</label> <label class="check"><input type="checkbox" name="preferred_part" value="true"> Preferred part</label>
<button type="submit" class="btn btn-primary">Add</button> <button type="submit" class="btn btn-primary">Add</button>
</form> </form>
</div> </details>
<div class="card"> <div class="card">
<h2>Sync with Imported Parts</h2> <h2>Sync with Imported Parts</h2>