mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 10:33:53 +00:00
[FEAT] Add signup button if signups are allowed
This commit is contained in:
1 parent
21088a1412
commit
a85a07ea82
1 file changed
+5
-2
@@ -9,8 +9,11 @@
|
|||||||
{% bootstrap_form form %}
|
{% bootstrap_form form %}
|
||||||
{% buttons %}
|
{% buttons %}
|
||||||
<input type="hidden" name="next" value="{{ next }}">
|
<input type="hidden" name="next" value="{{ next }}">
|
||||||
<input type="submit" class="btn btn-info" value="Login">
|
<input type="submit" class="btn btn-primary" value="Login">
|
||||||
|
{% if config.ENABLE_SIGNUPS %}
|
||||||
|
<a class="btn btn-info" href="{% url 'account_signup' %}">Sign up</a>
|
||||||
|
{% endif %}
|
||||||
{% endbuttons %}
|
{% endbuttons %}
|
||||||
<p>Forgot your password? Reset it <a href="{% url 'password_reset' %}">here</a>.</p>
|
<p>Forgot your password? Reset it <a href="{% url 'account_reset_password' %}">here</a>.</p>
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in new issue
Block a user