16 lines
782 B
HTML
16 lines
782 B
HTML
{% if security.registerable or security.recoverable or security.confirmable %}
|
|
<h2>{{ _('Menu') }}</h2>
|
|
<ul>
|
|
<li><a href="{{ url_for_security('login') }}{% if 'next' in request.args %}?next={{ request.args.next|urlencode }}{% endif %}">{{ _('Login') }}</a></li>
|
|
{% if security.registerable %}
|
|
<li><a href="{{ url_for_security('register') }}{% if 'next' in request.args %}?next={{ request.args.next|urlencode }}{% endif %}">{{ _('Register') }}</a><br/></li>
|
|
{% endif %}
|
|
{% if security.recoverable %}
|
|
<li><a href="{{ url_for_security('forgot_password') }}">{{ _('Forgot password') }}</a><br/></li>
|
|
{% endif %}
|
|
{% if security.confirmable %}
|
|
<li><a href="{{ url_for_security('send_confirmation') }}">{{ _('Confirm account') }}</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
{% endif %}
|