cqtu/templates/registration/login.html

51 lines
1.2 KiB
HTML
Raw Normal View History

2017-01-18 02:25:12 +01:00
{% extends "base.html" %}
2017-01-19 18:42:11 +01:00
{% load crispy_forms_tags %}
2017-01-18 02:25:12 +01:00
{% block content %}
<div class="row">
2017-01-19 18:42:11 +01:00
<div class="col-sm-4 col-sm-offset-4">
2017-01-20 17:29:21 +01:00
<!-- <h2 class="text-center">Please login</h2> -->
<div class="panel panel-primary">
<div class="panel-heading">Login</div>
<div class="panel-body">
<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>
2017-01-19 18:42:11 +01:00
2017-01-20 17:29:21 +01:00
<form action="{% url "login" %}" method="post" class="uniForm">
{% csrf_token %}
{{ form|crispy }}
2017-01-18 02:25:12 +01:00
2017-01-20 17:29:21 +01:00
<button type="submit" class="btn btn-primary" value="Login">Login</button>
</form>
</div>
</div>
2017-01-18 02:25:12 +01:00
</div>
</div>
2017-01-19 18:42:11 +01:00
<!--
<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 }}
2017-01-18 02:25:12 +01:00
2017-01-19 18:42:11 +01:00
<button type="submit" class="btn btn-default" value="Login">Login</button>
</form>
</div>
</div>
-->
2017-01-18 02:25:12 +01:00
</div>
{% endblock %}