mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-29 11:20:24 +08:00
Fix templates
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{% include "../messages.html" %}
|
||||
{% include "security/messages.html" %}
|
||||
<h1>Login</h1>
|
||||
<form action="{{ url_for('flask_security.authenticate') }}" method="POST" name="login_form">
|
||||
{{ form.hidden_tag() }}
|
||||
{{ form.email.label }} {{ form.email }}<br/>
|
||||
{{ form.password.label }} {{ form.password }}<br/>
|
||||
{{ form.remember.label }} {{ form.remember }}<br/>
|
||||
{{ form.next }}
|
||||
{{ form.submit }}
|
||||
{{ login_form.hidden_tag() }}
|
||||
{{ login_form.email.label }} {{ login_form.email }}<br/>
|
||||
{{ login_form.password.label }} {{ login_form.password }}<br/>
|
||||
{{ login_form.remember.label }} {{ login_form.remember }}<br/>
|
||||
{{ login_form.next }}
|
||||
{{ login_form.submit }}
|
||||
</form>
|
||||
@@ -1,4 +1,4 @@
|
||||
{% include "../messages.html" %}
|
||||
{% include "security/messages.html" %}
|
||||
<h1>Edit account</h1>
|
||||
<form action="{{ url_for('flask_security.update_user') }}" method="POST" name="edit_user_form">
|
||||
{{ edit_user_form.hidden_tag() }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% include "../messages.html" %}
|
||||
{% include "security/messages.html" %}
|
||||
<h1>Register</h1>
|
||||
<form action="{{ url_for('flask_security.register') }}" method="POST" name="register_user_form">
|
||||
{{ register_user_form.hidden_tag() }}
|
||||
|
||||
Reference in New Issue
Block a user