Making adding a part manually less exhausting
This commit is contained in:
1 parent
8860c5691f
commit
e81c368663
1 file changed
+3
-3
@@ -5,8 +5,8 @@
|
||||
<main class="container">
|
||||
<h1>Augmented Parts</h1>
|
||||
|
||||
<div class="card">
|
||||
<h2>Add part</h2>
|
||||
<details class=card>
|
||||
<summary>Add a part</summary>
|
||||
<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>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>
|
||||
<button type="submit" class="btn btn-primary">Add</button>
|
||||
</form>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<div class="card">
|
||||
<h2>Sync with Imported Parts</h2>
|
||||
|
||||
Reference in new issue
Block a user