[FIX] Place signup button in correct template

This commit is contained in:
2023-03-25 14:34:55 +00:00
parent b8059175c6
commit 66567e5a55
2 changed files with 3 additions and 3 deletions

View File

@@ -27,6 +27,9 @@
{% endif %}
<button class="btn btn-primary " type="submit">{% trans "Log in" %}</button>
{% if config.ALLOW_SIGNUPS %}
<a class="btn btn-secondary" href="{% url 'account_signup' %}">Sign up</a>
{% endif %}
<a class="btn btn-outline-dark" href="{% url 'account_reset_password' %}">{% trans "Forgot password?" %}</a>
</form>

View File

@@ -10,9 +10,6 @@
{% buttons %}
<input type="hidden" name="next" value="{{ next }}">
<input type="submit" class="btn btn-primary" value="Login">
{% if config.ALLOW_SIGNUPS %}
<a class="btn btn-info" href="{% url 'account_signup' %}">Sign up</a>
{% endif %}
{% endbuttons %}
<p>Forgot your password? Reset it <a href="{% url 'account_reset_password' %}">here</a>.</p>
</form>