login and logout
This commit is contained in:
@ -1,4 +1,21 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
HI
|
||||
{% if error %}
|
||||
{{ error }}
|
||||
<br />
|
||||
<br />
|
||||
{% endif %}
|
||||
<h1>Login</h1>
|
||||
<form method="POST" action="{% url 'login' %}">
|
||||
{% csrf_token %}
|
||||
Username:
|
||||
<br/>
|
||||
<input type="text" name="username"/>
|
||||
<br/>
|
||||
Password:
|
||||
<br/>
|
||||
<input type="password" name="password"/>
|
||||
<br/><br />
|
||||
<input type="submit" value="Login" class="btn btn-primary">
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user