switch login form to crispy
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{% extends '../base.html' %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
{% block title %}Login{% endblock %}
|
||||
|
||||
@@ -6,7 +7,7 @@
|
||||
<h2>Login</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
{{ form | crispy }}
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
||||
<!-- <p><a href="{% url 'password_reset' %}">Reset password</a></p> -->
|
||||
@@ -16,3 +17,12 @@
|
||||
|
||||
<p>This page is for user account logins. If you have a CID / Passcode <a href="{% url 'cid_selector' %}">click here</a>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block css %}
|
||||
<style>
|
||||
.asteriskField {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
{% endblock css %}
|
||||
|
||||
Reference in New Issue
Block a user