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 content %}
|
||||
<h2>Log In</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button class="btn btn-light" type="submit">Log In</button>
|
||||
</form>
|
||||
<h2>Log In</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button class="btn btn-light" type="submit">Log In</button>
|
||||
<p></p>
|
||||
<span style="white-space: nowrap">New to MultiUserOpenRefine?</span>
|
||||
<a href="{% url 'signup' %}">Create an account.</a>
|
||||
</form>
|
||||
{% endblock %}
|
@ -4,10 +4,13 @@
|
||||
{% block title %}Sign Up{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Sign Up</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button class="btn btn-light" type="submit">Sign Up</button>
|
||||
</form>
|
||||
<h2>Sign Up</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button class="btn btn-light" type="submit">Sign Up</button>
|
||||
<p></p>
|
||||
<span style="white-space: nowrap">Already have an account?</span>
|
||||
<a href="{% url 'login' %}">Back to login.</a>
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user