{% extends "base.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block title %}{% trans "Log in" %}{% endblock %} {% block content %}
{% if request.user.is_anonymous and request.wechat %} You need to login to continue {% endif %}
{% csrf_token %} {{ form|crispy }} {% if request.user.is_anonymous and request.wechat %} {% else %} {% endif %}
{% comment %}

{% if 'phone' == request.register_type %}

{% trans "Forgot your password?" %} {% trans "Reset it" %}.

{% trans "Not a member?" %} {% trans "Register" %}.

{% else %}

{% trans "Forgot your password?" %} {% trans "Reset it" %}.

{% trans "Not a member?" %} {% trans "Register" %}.

{% endif %} {% endcomment %}
{% endblock %}