REFACTOR: Changed blueprints to allow for preprocessing of requests
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
<div id="input-form-wrap">
|
||||
<h2>Create New Product</h2>
|
||||
<form class="input-form" method="POST" action="{{ url_for('main.products.add') }}" enctype="multipart/form-data">
|
||||
<form class="input-form" method="POST" action="{{ url_for('main.seller.add') }}" enctype="multipart/form-data">
|
||||
<div class="input-form-row">
|
||||
<input type="text" id="name" name="name" placeholder="Product Name" required>
|
||||
<input type="file" id="image" name="image" accept="image/x" required>
|
||||
@ -31,6 +31,6 @@
|
||||
</form>
|
||||
|
||||
<div id="create-account-wrap">
|
||||
<p>Want to view all of your products? <a href="{{ url_for('main.products.display_own') }}">Click Here</a><p>
|
||||
<p>Want to view all of your products? <a href="{{ url_for('main.seller.display_own') }}">Click Here</a><p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user