add link to log in view when on sign up view and vice-versa
This commit is contained in:
parent
5ac24962c5
commit
098564e333
@ -4,10 +4,13 @@
|
|||||||
{% block title %}Login{% endblock %}
|
{% block title %}Login{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>Log In</h2>
|
<h2>Log In</h2>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.as_p }}
|
{{ form.as_p }}
|
||||||
<button class="btn btn-light" type="submit">Log In</button>
|
<button class="btn btn-light" type="submit">Log In</button>
|
||||||
</form>
|
<p></p>
|
||||||
|
<span style="white-space: nowrap">New to MultiUserOpenRefine?</span>
|
||||||
|
<a href="{% url 'signup' %}">Create an account.</a>
|
||||||
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -4,10 +4,13 @@
|
|||||||
{% block title %}Sign Up{% endblock %}
|
{% block title %}Sign Up{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>Sign Up</h2>
|
<h2>Sign Up</h2>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.as_p }}
|
{{ form.as_p }}
|
||||||
<button class="btn btn-light" type="submit">Sign Up</button>
|
<button class="btn btn-light" type="submit">Sign Up</button>
|
||||||
</form>
|
<p></p>
|
||||||
|
<span style="white-space: nowrap">Already have an account?</span>
|
||||||
|
<a href="{% url 'login' %}">Back to login.</a>
|
||||||
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user