51 lines
1.2 KiB
HTML
51 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-sm-4 col-sm-offset-4">
|
|
<!-- <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>
|
|
|
|
<form action="{% url "login" %}" method="post" class="uniForm">
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
|
|
<button type="submit" class="btn btn-primary" value="Login">Login</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</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 %}
|
|
|