wip order
This commit is contained in:
@@ -116,40 +116,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form action="/submit-product" method="POST">
|
||||
<label for="product-name">Product Name:</label>
|
||||
<input type="text" id="product-name" name="product-name" required><br><br>
|
||||
|
||||
<label for="product-type">Product Type:</label>
|
||||
<select id="product-type" name="product-type" required>
|
||||
<option value="magazine">Magazine</option>
|
||||
<option value="t-shirt">T-Shirt</option>
|
||||
</select><br><br>
|
||||
|
||||
<h3>Options</h3>
|
||||
<div class="option-group">
|
||||
<label for="option-name-1">Option Name:</label>
|
||||
<input type="text" id="option-name-1" name="option-name[]" required>
|
||||
<label for="option-price-1">Price:</label>
|
||||
<input type="number" id="option-price-1" name="option-price[]" required><br><br>
|
||||
</div>
|
||||
|
||||
<div class="option-group">
|
||||
<label for="option-name-2">Option Name:</label>
|
||||
<input type="text" id="option-name-2" name="option-name[]" required>
|
||||
<label for="option-price-2">Price:</label>
|
||||
<input type="number" id="option-price-2" name="option-price[]" required><br><br>
|
||||
</div>
|
||||
|
||||
<div class="option-group">
|
||||
<label for="option-name-3">Option Name:</label>
|
||||
<input type="text" id="option-name-3" name="option-name[]" required>
|
||||
<label for="option-price-3">Price:</label>
|
||||
<input type="number" id="option-price-3" name="option-price[]" required><br><br>
|
||||
</div>
|
||||
|
||||
<input type="submit" value="Add Product">
|
||||
</form>
|
||||
|
||||
|
||||
{{ template "footer.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user