mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
[FEAT] Add signup button if signups are allowed
This commit is contained in:
@@ -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