We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46fc857 commit a7f7c77Copy full SHA for a7f7c77
blog_project/blog/templates/registration/login.html
@@ -0,0 +1,21 @@
1
+{% extends 'blog/base.html' %}
2
+
3
4
+{% block content %}
5
+ <div class="jumbotron">
6
7
+ <h2>Please Login: </h2>
8
+ <h3>(Must be SuperUser, please check admin for issues.)</h3>
9
+ {% if form.errors %}
10
+ <p>Your username and password didn't match.Please try again!</p>
11
+ {% endif %}
12
13
+ <form method="POST" action="{% url 'login' %}">
14
+ {% csrf_token %}
15
+ {{form.as_p}}
16
17
+ <input type="submit" class='btn btn-primary' value="Login" />
18
+ <input type="hidden" name="next" value="{{ next }}" />
19
+ </form>
20
+ </div>
21
+{% endblock %}
0 commit comments