cremcrem2devdev2diademsformagenericinstru_searchlamnlivemultiproductionrelease/1.4.4securitysocialstoragetestvideo
|
Last change
on this file since 8fdcce4 was
8fdcce4,
checked in by yomguy <yomguy@…>, 2 years ago
|
|
fix mimetype analyzer (telemeta side), fix csrf for login, (re)add TEMPLATE_CONTEXT_PROCESSORS to settings
|
-
Property mode set to
100644
|
|
File size:
623 bytes
|
| Line | |
|---|
| 1 | {% extends "telemeta/base.html" %} |
|---|
| 2 | {% load i18n %} |
|---|
| 3 | |
|---|
| 4 | {% block content %} |
|---|
| 5 | <h3>{% trans "User authentication" %}</h3> |
|---|
| 6 | |
|---|
| 7 | {% if form.errors %} |
|---|
| 8 | <p class="login-error">{% trans "Your username and password didn't match. Please try again." %}</p> |
|---|
| 9 | {% endif %} |
|---|
| 10 | |
|---|
| 11 | <form class="login" method="post" action="{% url telemeta-login %}">{% csrf_token %} |
|---|
| 12 | <p> |
|---|
| 13 | {{ form.username.label_tag }} |
|---|
| 14 | {{ form.username }}<br /> |
|---|
| 15 | |
|---|
| 16 | {{ form.password.label_tag }} |
|---|
| 17 | {{ form.password }} |
|---|
| 18 | |
|---|
| 19 | </p> |
|---|
| 20 | <input class="submit" type="submit" value="{% trans "Sign in" %}"/> |
|---|
| 21 | <input type="hidden" name="next" value="{{ next }}" /> |
|---|
| 22 | </form> |
|---|
| 23 | |
|---|
| 24 | <div class="wazing" /> |
|---|
| 25 | |
|---|
| 26 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.