{% import '_form_macros.html' as macros %}
{{ login_form.csrf_token }}
{{ macros.with_errors(login_form.username, class="validate", placeholder="Username", tabindex="1", label=False) }}
{{ macros.with_errors(login_form.password, class="validate", placeholder="Password", tabindex="2", label=False) }}
{{ macros.with_errors(login_form.otp, class="validate", placeholder="One-Time Password (if you have one)", tabindex="3", autocomplete="off", label=False) }}
{% if lost_otp_token is not defined %} {{ _("Forgot Password?") }} {% else %} {{ _("Forgot Password or OTP?") }} {% endif %} | {{ _("Sync Token") }}