24 lines
No EOL
823 B
HTML
24 lines
No EOL
823 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="panel panel-default" style="width:400px;margin:0 auto 25px auto;">
|
|
<div class="panel-body">
|
|
<form method="post" action="{% url 'login' %}">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="next" value="{{ next }}" />
|
|
{% if form.errors %}
|
|
<div class="alert alert-danger" role="alert">Username and password are incorrect.</div>
|
|
{% endif %}
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" name="username" placeholder="Username">
|
|
</div>
|
|
<div class="form-group">
|
|
<input type="password" class="form-control" name="password" placeholder="Password">
|
|
</div>
|
|
<input type="submit" class="btn btn-success btn-lg btn-block" value="Enter">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %} |