2024-01-19 12:37:51 +00:00
|
|
|
<div id="login-form-wrap">
|
|
|
|
<h2>Sign Up</h2>
|
2024-01-19 13:31:06 +00:00
|
|
|
<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>
|
2024-01-19 13:31:06 +00:00
|
|
|
<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 %}
|
2024-01-19 16:35:23 +00:00
|
|
|
<option value="{{category.id}}">{{category.name}}</option>
|
2024-01-19 12:37:51 +00:00
|
|
|
{% endfor %}
|
2024-01-19 13:31:06 +00:00
|
|
|
</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">
|
2024-01-19 13:31:06 +00:00
|
|
|
<p>Want to view all of your products? <a href="">Click Here</a><p>
|
2024-01-19 12:37:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|