vuejs-userservice/dal/templates/landing.html
2019-02-24 20:34:08 +01:00

38 lines
1.6 KiB
HTML

{% extends "base_short.html" %}
{% load i18n staticfiles bootstrap3 %}
{% block content %}
<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="/register">{% trans "Sign up" %}</a>
</div>
<div>
or <a href="{% url 'reset_password' %}">{% trans "Forgot your password ?" %}</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}