WMGZON/templates/new_product.html

19 lines
758 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">
<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" required>
<select name="category" id="category">
{% for category in categories %}
<option value="{{category.name}}">{{category.name}}</option>
{% endfor %}
</select>
<input type="submit" id="Sign Up" value="Sign Up">
</form>
<div id="create-account-wrap">
<p>Already have an account? <a href="login">Login</a><p>
</div>
</div>