register: Add description below name field.

This commit adds description text below the name field
mentioning where the field will be used.

Fixes part of #29226.
This commit is contained in:
Sahil Batra
2024-03-08 22:04:07 +05:30
committed by Tim Abbott
parent e5128af34c
commit 0ac0f95ee8
3 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<p id="new-user-email-address-visibility">
<p id="new-user-email-address-visibility" class="registration-form-hint">
<input type="hidden" name="email_address_visibility" id="email_address_visibility"/>
<span class="current-selected-option">
{% if default_email_address_visibility == email_address_visibility_admins_only %}

View File

@@ -124,6 +124,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
{% endfor %}
{% endif %}
{% endif %}
<p class="registration-form-hint">{{ _('This is how your account is displayed in Zulip.') }}</p>
</div>
<div class="input-box" id="profile_info_section" style="display:none;">

View File

@@ -668,7 +668,7 @@ html {
}
}
#new-user-email-address-visibility {
.registration-form-hint {
text-align: left;
font-size: 0.8em;
line-height: normal;