register: Fix ToS error overlapping with subscribed checkbox text.

Fixed by using the same set of classes we use to show error when
verifying the form locally.
This commit is contained in:
Aman Agrawal
2025-06-24 13:08:16 +05:30
committed by Tim Abbott
parent 5170a4ad28
commit 5046c8a1a2
3 changed files with 2 additions and 13 deletions

View File

@@ -55,7 +55,7 @@ the registration flow has its own (nearly identical) copy of the fields below in
</label>
{% if form.terms.errors %}
{% for error in form.terms.errors %}
<p class="help-inline text-error">{{ error }}</p>
<p class="error help-inline alert alert-error">{{ error }}</p>
{% endfor %}
{% endif %}
</div>

View File

@@ -236,7 +236,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
</label>
{% if form.terms.errors %}
{% for error in form.terms.errors %}
<p class="help-inline text-error">{{ error }}</p>
<p class="error help-inline alert alert-error">{{ error }}</p>
{% endfor %}
{% endif %}
</div>