add templates for anonymous user dashboard and login

This commit is contained in:
Jan Dittberner 2015-01-17 14:04:10 +01:00
parent 8a29e4001c
commit 1deed46d34
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{% extends "base.html" %}
{% load i18n crispy_forms_tags %}
{% block title %}{{ block.super }} - {% trans "Sign in" %}{% endblock title %}
{% block page_title %}{% trans "Sign In" %}{% endblock %}
{% block content %}
<form action="" method="post">
{% csrf_token %}
<input type="hidden" name="next" value="{{ next }}" />
{{ form|crispy }}
<input type="submit" name="submit" value="{% trans 'Sign in' %}" class="btn btn-primary" />
</form>
{% endblock %}