Remove unused template

This commit is contained in:
Kumi 2019-01-17 17:19:22 +01:00
parent 28704e82cf
commit 07813c5561

View file

@ -1,47 +0,0 @@
{% extends "base.html" %}
{% block content %}
<noscript>
<div class="alert alert-danger">
Javascript is disabled or unavailable in your browser, but is needed for this application to work properly. Please enable Javascript in your browser or use a different browser.
</div>
</noscript>
{% if form.errors %}
<div class="alert alert-danger">
Your username and password didn't match. Please try again or click <a href="/accounts/password_reset">"Lost password?"</a> to reset your password.
</div>
{% endif %}
{% if next %}
{% if user.is_authenticated %}
<div class="alert alert-warning">
Your account doesn't have access to this page. To proceed, please login with an account that has access.
</div>
{% else %}
<div class="alert alert-info">
Please login to see this page.
</div>
{% endif %}
{% endif %}
<form method="post" action="{% url 'login' %}">
{% csrf_token %}
<div class="form-group">
{{ form.username.label_tag }}
<input type="text" name="username" autofocus="" class="form-control" required="" id="id_username">
</div>
<div class="form-group">
{{ form.password.label_tag }}
<input type="password" name="password" class="form-control" required="" id="id_password">
</div>
<input type="submit" class="btn btn-success" value="login">
<input type="hidden" name="next" value="{{ next }}">
</form>
{# Assumes you setup the password_reset view in your URLconf #}
<p><a href="{% url 'password_reset' %}">Lost password?</a></p>
{% endblock %}