WMGZON/templates/new_product.html

21 lines
1010 B
HTML
Raw Normal View History

2024-01-19 12:37:51 +00:00
<div id="login-form-wrap">
<h2>Sign Up</h2>
<form class="login-form" method="POST" enctype="multipart/form-data">
2024-01-19 12:37:51 +00:00
<input type="text" id="name" name="name" placeholder="Product Name" required>
<input type="textarea" id="description" name="description" placeholder="Product Description" required>
<input type="file" id="image" name="image" accept="image/x" required>
2024-01-19 12:37:51 +00:00
<select name="category" id="category">
{% for category in categories %}
<option value="{{category.name}}">{{category.name}}</option>
{% endfor %}
</select>
<input type="number" id="cost" name="cost" placeholder=10.99 min=0 step=any required>
<input type="number" id="quantity" name="quantity" placeholder=0 min=0 required>
<input type="submit" id="Create Product" value="Create Product">
2024-01-19 12:37:51 +00:00
</form>
<div id="create-account-wrap">
<p>Want to view all of your products? <a href="">Click Here</a><p>
2024-01-19 12:37:51 +00:00
</div>
</div>