[FEAT] Add signup button if signups are allowed

This commit is contained in:
2023-03-25 14:07:33 +00:00
parent 21088a1412
commit a85a07ea82

View File

@@ -9,8 +9,11 @@
{% bootstrap_form form %}
{% buttons %}
<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 %}
<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>
{% endblock %}