source: telemeta/templates/telemeta/login.html @ 566f17d

cremcrem2crem3devdev2diademsdj1.6feature/breadcrumbsfeature/ts-0.5feature/ts-0.5.4feature/writecacheformagenericinstru_searchlamlam2mapsv3mergenlivemultiprobproductionrelease/1.4.4sabiodsearchsecurityserversocialstoragetelecastertest
Last change on this file since 566f17d was 566f17d, checked in by yomguy <yomguy@…>, 3 years ago
  • Property mode set to 100644
File size: 960 bytes
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.