cremcrem2devdev2diademsformagenericinstru_searchlamnlivemultiproductionrelease/1.4.4securitysocialstoragetest
| Line | |
|---|
| 1 | {% extends "telemeta/base.html" %} |
|---|
| 2 | {% load i18n %} |
|---|
| 3 | |
|---|
| 4 | {% block title %} |
|---|
| 5 | <img src="{% url telemeta-images "user_red.png" %}" style="vertical-align:middle" /> {% trans "User authentication" %} |
|---|
| 6 | {% endblock %} |
|---|
| 7 | |
|---|
| 8 | {% block content %} |
|---|
| 9 | {% if form.errors %} |
|---|
| 10 | <p class="login-error">{% trans "Your username and password didn't match. Please try again." %}</p> |
|---|
| 11 | {% endif %} |
|---|
| 12 | <form class="login" id="_loginForm" method="post" action="{% url telemeta-login %}">{% csrf_token %} |
|---|
| 13 | <p> |
|---|
| 14 | {{ form.username.label_tag }} |
|---|
| 15 | {{ form.username }}<br /> |
|---|
| 16 | {{ form.password.label_tag }} |
|---|
| 17 | {{ form.password }} |
|---|
| 18 | </p> |
|---|
| 19 | <a href="#" class="component_icon button icon_login" style="float: right;" |
|---|
| 20 | onclick="document.getElementById('_loginForm').submit(); return false;">{% trans "Sign in" %}</a> |
|---|
| 21 | <input type="hidden" name="next" value="{{ next }}" /> |
|---|
| 22 | <span style="align: right;"><a href="{% url telemeta-password-reset %}">{% trans "Password forgotten" %} ?</a></span> |
|---|
| 23 | </form> |
|---|
| 24 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.