Removed additional alerts from the bottom of the signup page
This commit is contained in:
parent
8702aa86a5
commit
a86edf01ad
@ -1,6 +1,6 @@
|
||||
from flask import Blueprint
|
||||
|
||||
from flask import render_template, request, session, flash
|
||||
from flask import render_template, session, flash
|
||||
from controllers.database.product import ProductController
|
||||
|
||||
blueprint = Blueprint("products", __name__, url_prefix="/products")
|
||||
|
@ -8,20 +8,7 @@
|
||||
<input type="password" id="password" name="password" minlength=8 placeholder="Password" required>
|
||||
<input type="submit" id="Sign Up" value="Sign Up">
|
||||
</form>
|
||||
{% with messages = get_flashed_messages()%}
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<label>
|
||||
<input type="checkbox" class="alertCheckbox" autocomplete="off" />
|
||||
<div class="alert error">
|
||||
<span class="alertClose">X</span>
|
||||
<span class="alertText">{{message}}
|
||||
<br class="clear"/></span>
|
||||
</div>
|
||||
</label>
|
||||
{% endfor%}
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<div id="create-account-wrap">
|
||||
<p>Already have an account? <a href="login">Login</a><p>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user