20 lines
740 B
HTML
20 lines
740 B
HTML
{% load i18n %}
|
|
{% load widget_tweaks %}
|
|
|
|
<form action="{% url "account_login" %}" method="post">
|
|
{% csrf_token %}
|
|
<ul class="input-list">
|
|
{% for field in form %}
|
|
<li class="input-wrapper">
|
|
<label for="{{ field.id_for_label }}">{{ field.label }}</label>
|
|
{% render_field field class+="field" autocomplete="off" autocapitalize="none" placeholder="" %}
|
|
<div class="infos-spacer"></div>
|
|
{% if field.help_text %}
|
|
<p class="help">{{ field.help_text|safe }}</p>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<input type="submit" value="{% trans "Sign In" %}">
|
|
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}">
|
|
</form>
|