add sign up process for backlogger
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-03-31 21:45:29 +03:00
parent ce3fdfffa1
commit 80f5335886
7 changed files with 217 additions and 2 deletions

View File

@@ -89,7 +89,13 @@
<p class="subtitle">Backlogger</p>
{% if form.non_field_errors %}
<div class="error-banner">Invalid username or password.</div>
{% for error in form.non_field_errors %}
{% if 'inactive' in error|lower or 'active' in error|lower %}
<div class="error-banner">Your account is pending approval. You'll be able to log in once it's activated.</div>
{% else %}
<div class="error-banner">Invalid username or password.</div>
{% endif %}
{% endfor %}
{% endif %}
<form method="post">
@@ -109,6 +115,9 @@
<button type="submit" class="btn">Log in</button>
</form>
<p style="text-align:center; margin-top:1.25rem; font-size:0.83rem; color:#64748b;">
No account? <a href="/accounts/signup/" style="color:#38bdf8; text-decoration:none;">Sign up</a>
</p>
</div>
</body>
</html>