diff options
author | Filipp Lepalaan <f@230.to> | 2013-11-17 19:15:30 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-11-17 19:15:30 +0200 |
commit | 297419f370ea87458017ee506a2e551e9068b66b (patch) | |
tree | 429d3e1b6c7f2facfb3e361b4b708f0d36e8aac8 /templates/login.html | |
parent | f077badf3163fc36c111dc45fe8d7d6f57d8712a (diff) | |
download | motor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.gz motor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.bz2 motor.old-297419f370ea87458017ee506a2e551e9068b66b.zip |
Swicthing machines
Diffstat (limited to 'templates/login.html')
-rw-r--r-- | templates/login.html | 10 |
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 %} |