aboutsummaryrefslogtreecommitdiffstats
path: root/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/login.html b/templates/login.html
index 2167d15..35479e7 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -1,10 +1,12 @@
{% extends "default.html" %}
+{% load bootstrap3 %}
+{% load i18n %}
{% block main %}
- <form class="form-signin" method="post">
+ <form class="form-signin" method="post" action="#">
{% csrf_token %}
- <h2 class="form-signin-heading">Please sign in</h2>
- {{ form.as_p }}
- <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
+ <h2 class="form-signin-heading">{% trans "Please sign in" %}</h2>
+ {% bootstrap_form form %}
+ <button class="btn btn-lg btn-primary btn-block" type="submit">{% trans "Sign in" %}</button>
</form>
{% endblock main %}