{% extends "base.html" %} {% block title %} {{ _("Sign in") }} {% endblock %} {% block container %}
{% from "macros/forms.html" import render_field, render_checkbox_field, render_submit_field %}
{{ form.hidden_tag() }}

{{ self.title() }}

{{ render_field(form.username, tabindex=110, label_visible=False, placeholder=_("Username or email")) }} {{ render_field(form.password, tabindex=120, label_visible=False, placeholder=_("Password")) }}
{{ render_checkbox_field(form.remember_me, tabindex=130, class_="col-sm") }} {{ _("Forgot my password") }}
{{ render_submit_field(form.submit, tabindex=140, class_="btn btn-lg btn-primary d-block") }}

{{ _("GitHub") }} {{ _("Register") }}

{% endblock %}