mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
30 lines
878 B
HTML
30 lines
878 B
HTML
{% extends "registration/registration_base.html" %}
|
|
{% block title %}Login{% endblock %}
|
|
{% block content %}
|
|
|
|
<div class="page-header">
|
|
<h1>Login</h1>
|
|
</div>
|
|
|
|
<form method="post" action="{% url django.contrib.auth.views.login %}">
|
|
<fieldset>
|
|
{% include "formtools/formerror.html" %}
|
|
{% include "formtools/formfield.html" with field=form.username %}
|
|
{% include "formtools/formfield.html" with field=form.password %}
|
|
|
|
<div class="row">
|
|
<div class="span10">
|
|
<a href="{% url auth_password_reset %}" class="btn">Forgotten Password</a>
|
|
<a href="{% url registration_register %}" class="btn success">Create Account</a>
|
|
</div>
|
|
<div class="span6">
|
|
<input type="submit" value="Login" class="btn primary pull-right"/>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" name="next" value="{{ next }}" />
|
|
{% csrf_token %}
|
|
</fieldset>
|
|
</form>
|
|
|
|
{% endblock %}
|