ungleich-user/dal/templates/landing.html

41 lines
1.8 KiB
HTML
Raw Normal View History

2018-11-10 13:54:35 +00:00
{% extends "base_short.html" %}
2019-02-18 21:03:51 +00:00
{% load i18n staticfiles bootstrap3 %}
2018-11-10 12:10:17 +00:00
{% block content %}
2019-02-18 21:03:51 +00:00
<div class="auth-container">
<div class="auth-bg"></div>
<div class="auth-center">
<div class="auth-content">
<div class="auth-box">
<h1 class="section-heading allcaps">{% trans "Log in" %}</h1>
{% include 'includes/_messages.html' %}
<form action="{% url 'index' %}" method="post" class="form" novalidated>
{% csrf_token %}
{% for field in form %}
{% bootstrap_field field show_label=False type='fields'%}
{% endfor %}
<p class="red">{{form.non_field_errors|striptags}}</p>
<div class="text-center">
<button type="submit" class="btn choice-btn">
{% trans "Log in" %}
</button>
</div>
<input type='hidden' name='next' value='{{request.GET.next}}'/>
</form>
<div class="auth-footer">
<div>
{% trans "Don't have an account yet ?" %}&nbsp;
{# <a href="{% url 'signup' %}">{% trans "Sign up" %}</a>#}
</div>
<div>
or <a href="{% url 'reset_password' %}">{% trans "Forgot your password ?" %}</a><br>
{# or <a href="{% url 'resend_activation_link' %}">{% trans "Resend activation link" %}</a>#}
</div>
</div>
</div>
</div>
</div>
</div>
2018-11-10 12:10:17 +00:00
{% endblock %}