{% extends "users/layout.html" %} {% block users_title %}Login to your account{% endblock %} {% block users_nav %}{{_('Create an account')}}{% endblock %} {% block users_content %} <{bs_form form=form action=url_for_same() class_="login-form" id="login-form" }> <{ bs_form_field form.identifier size="lg" }/> <{ bs_form_field form.password size="lg" }/>
<{ bs_form_field form.remember }/>
{% if app.extensions.frasco_users.options['allow_signup'] %} <{ bs_form_static_field }> {{ _("Password lost?") }} {% endif %}
<{ bs_btn _("Login") type="submit" style="primary" size="lg" onclick="ga('send', 'event', 'account', 'login', 'saas')" }/>
{% if app.extensions.frasco_users.options['allow_signup'] %} {% endif %} {% if THIRD_PARTY_ACCOUNT_PROVIDERS|length > 0 %}
{% for provider in THIRD_PARTY_ACCOUNT_PROVIDERS %} {% if provider.login_view %} {% if provider.login_btn_img %} {{ provider.login_label }} {% else %} {% if provider.icon %} {% endif %}{{ provider.login_label }} {% endif %} {% endif %} {% endfor %}
{% endif %} {% endblock %} {% block footer %} {{ super() }} {% if app.config['GOOGLE_ANALYTICS_ID'] %} {% endif %} {% endblock %}