{% extends 'flask_user/_public_base.html' %} {% block content %} {% from "flask_user/_macros.html" import render_field, render_checkbox_field, render_submit_field %}

{%trans%}Sign in{%endtrans%}

 

Your username MUST be your callsign or email address.

 

{{ form.hidden_tag() }} {# Username or Email field #} {% set field = form.username if user_manager.USER_ENABLE_USERNAME else form.email %}
{# Label on left, "New here? Register." on right #}
{% if user_manager.USER_ENABLE_REGISTER and not user_manager.USER_REQUIRE_INVITATION %} {%trans%}New here? Register.{%endtrans%} {% endif %}
{{ field(class_='form-control', tabindex=110) }} {% if field.errors %} {% for e in field.errors %}

{{ e }}

{% endfor %} {% endif %}
{# Password field #} {% set field = form.password %}
{# Label on left, "Forgot your Password?" on right #}
{% if user_manager.USER_ENABLE_FORGOT_PASSWORD %} {%trans%}Forgot your Password?{%endtrans%} {% endif %}
{{ field(class_='form-control', tabindex=120) }} {% if field.errors %} {% for e in field.errors %}

{{ e }}

{% endfor %} {% endif %}
{# Remember me #} {% if user_manager.USER_ENABLE_REMEMBER_ME %} {{ render_checkbox_field(login_form.remember_me, tabindex=130) }} {% endif %} {# Submit button #} {{ render_submit_field(form.submit, tabindex=180) }}
{% endblock %}