diff options
author | luxagraf <sng@luxagraf.net> | 2018-11-19 11:52:49 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-11-19 11:52:49 -0600 |
commit | d12a5a018faf9cba5a19ebb1bda79ad2ffbbd69f (patch) | |
tree | 0cca8c4a344b254c092f823ef514856d66a653b5 /design/templates/registration | |
parent | 2ef6414abec4e606d0fd96babc849cc2bde2bb38 (diff) |
updated requirements, rolled in style changes and js
Diffstat (limited to 'design/templates/registration')
-rw-r--r-- | design/templates/registration/login.html | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/design/templates/registration/login.html b/design/templates/registration/login.html index 13b1c6c..a481556 100644 --- a/design/templates/registration/login.html +++ b/design/templates/registration/login.html @@ -1,5 +1,7 @@ {% extends 'base.html' %} {% block content %} +<form class="form-narrow" method="post" action="{% url 'login' %}"> +<legend class="fancy-legend">Login to {{site.name}}</legend> {% if form.errors %} <p>Your username and password didn't match. Please try again.</p> {% endif %} @@ -13,23 +15,22 @@ {% endif %} {% endif %} -<form method="post" action="{% url 'login' %}"> {% csrf_token %} -<table> -<tr> - <td>{{ form.username.label_tag }}</td> - <td>{{ form.username }}</td> -</tr> -<tr> - <td>{{ form.password.label_tag }}</td> - <td>{{ form.password }}</td> -</tr> -</table> +<fieldset> + {{ form.username.label_tag }} + {{ form.username }} +</fieldset> +<fieldset> + {{ form.password.label_tag }} + {{ form.password }} +</fieldset> -<input type="submit" value="login"> +<input type="submit" class="btn sm" value="login"> <input type="hidden" name="next" value="{{ next }}"> </form> {# Assumes you setup the password_reset view in your URLconf #} -<p><a href="{% url 'password_reset' %}">Lost password?</a></p> +<hr /> +<p class="text-center">No account yet? <a href="/register/">Sign up</a>.<br> +<a href="{% url 'password_reset' %}">Forgot your password?</a></p> {% endblock %} |