Update login prompt to include redirect after successful login

This commit is contained in:
Ross
2025-10-05 21:50:22 +01:00
parent 850b6ddc84
commit bb20f7d20d
@@ -26,7 +26,7 @@
<a href="{% url 'atlas:collection_take_overview_user' pk=collection.pk %}"><button>Overview</button></a>
{% endif %}
{% else %}
Enter your CID and passcode in the below boxes. (Registered user should login <a href="{% url 'login' %}">here</a>)<br />
Enter your CID and passcode in the below boxes. (Registered user should login <a href="{% url 'login' %}?next={% url 'atlas:collection_take_start' pk=collection.pk %}">here</a>)<br />
<p><input id="cid-box" type="text" value="Candidate ID"></p>
<p><input id="passcode-box" type="text" value="Passcode"></p>