cqtu/templates/registration/login.html

47 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% load crispy_forms_tags %}
{% block content %}
<h2>Welcome!</h2>
<div class="row">
<div class="col-sm-4 col-sm-offset-4">
<h2 class="text-center">Please login</h2>
<p>
Don't have an account? <a href="{% url 'register' %}">Register here!</a>
</p>
<p>
Trouble logging in? Remember that your call is all upper-case.
</p>
<form action="{% url "login" %}" method="post" class="uniForm">
{% csrf_token %}
{{ form|crispy }}
<button type="submit" class="btn btn-default" value="Login">Login</button>
</form>
</div>
</div>
<!--
<div class="row">
<div class="col-sm-6">
<blockquote>
Serverbasierte Loesung finde ich nach eingem Ueberlegen doof.
<footer>DL7BST</footer>
</blockquote>
</div>
<div class="col-sm-6">
Please Login! Don't have an account? <a href="{% url 'register' %}">Register here!</a>
<form action="#" method="post" class="uniForm">
{% csrf_token %}
{{ form|crispy }}
<button type="submit" class="btn btn-default" value="Login">Login</button>
</form>
</div>
</div>
-->
</div>
{% endblock %}