15 lines
668 B
HTML
15 lines
668 B
HTML
{% extends "layout/base.html" %}
|
|
{% block content %}
|
|
<div id="frontend-loginform">
|
|
{% if form.errors %}
|
|
<p>Your username and password did not match. Please try again.</p>
|
|
{% endif %}
|
|
<form class="form" role="form" method="POST" action="{% url 'frontend-login' %}">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="next" value="{{next}}" />
|
|
<input type="username" class="form-control" name="username" placeholder="Username" required autofocus>
|
|
<input type="password" class="form-control" name="password" placeholder="Password" required>
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %} |