github.com/blystad/deis@v0.11.0/controller/web/templates/account/login.html (about) 1 {% extends "account/base.html" %} 2 3 {% load i18n %} 4 {% load account %} 5 {% load url from future %} 6 7 {% block head_title %}{% trans "Sign In" %}{% endblock %} 8 9 {% block content %} 10 11 <h1>{% trans "Log In" %}</h1> 12 13 <p>Need an account? Use the <a href="https://pypi.python.org/pypi/deis">Deis CLI</a> to sign up.</p> 14 15 <form class="login" method="POST" action="{% url 'account_login' %}"> 16 {% csrf_token %} 17 {{ form.as_p }} 18 {% if redirect_field_value %} 19 <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" /> 20 {% endif %} 21 <a class="button secondaryAction" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a> 22 <button class="primaryAction" type="submit">{% trans "Log In" %}</button> 23 </form> 24 25 {% endblock %} 26