ungleich-user/dal/templates/landing.html

43 lines
1.7 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
2019-04-16 00:16:30 +00:00
{% block title %}
<title>ungleich</title>
{% endblock %}
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>
2019-02-24 19:34:08 +00:00
{% trans "Don't have an account yet ?" %}&nbsp;<a href="/register">{% trans "Sign up" %}</a>
2019-02-18 21:03:51 +00:00
</div>
<div>
or <a href="{% url 'reset_password' %}">{% trans "Forgot your password ?" %}</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
2018-11-10 12:10:17 +00:00
{% endblock %}