Skip to content

Commit 858f6c6

Browse files
committed
Render richtext help text on login pages.
1 parent 6131f9a commit 858f6c6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

hypha/apply/templates/forms/includes/field.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
{% endif %}
5959

6060
{% if field.help_text %}
61-
<div class="form__help prose prose-sm">{{ field.help_text }}</div>
61+
<div class="form__help prose prose-sm">{{ field.help_text|safe }}</div>
6262
{% endif %}
6363

6464
{% if not field.is_hidden %}

hypha/apply/users/templates/users/login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h2 class="text-2xl">{% blocktrans %}Log in to {{ ORG_SHORT_NAME }}{% endblocktr
5656

5757
{% if settings.users.AuthSettings.extra_text %}
5858
<div class="p-4 mb-6 rounded-xs prose prose-sm bg-slate-50">
59-
{{ settings.users.AuthSettings.extra_text|richtext}}
59+
{{ settings.users.AuthSettings.extra_text|richtext }}
6060
</div>
6161
{% endif %}
6262

hypha/apply/users/templates/users/passwordless_login_signup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h2 class="text-2xl">
3939

4040
{% if settings.users.AuthSettings.extra_text %}
4141
<div class="p-4 mb-6 rounded-xs prose prose-sm bg-slate-50">
42-
{{ settings.users.AuthSettings.extra_text|richtext}}
42+
{{ settings.users.AuthSettings.extra_text|richtext }}
4343
</div>
4444
{% endif %}
4545

0 commit comments

Comments
 (0)