demo-orgs: Make note about name field a hint in add email modal.

Moves the note about possibly updating the name field from the top
of the modal to instead be a hint/subtitle under the field on the
form.
This commit is contained in:
Lauryn Menard
2025-10-20 18:38:05 +02:00
committed by Tim Abbott
parent a925671179
commit ef2c2fe885
2 changed files with 7 additions and 1 deletions

View File

@@ -397,6 +397,10 @@
opacity: 0.7;
}
#demo-owner-update-email-field-hint {
opacity: 0.7;
}
#sender_channel_email_address_widget {
width: 12.875em; /* 206px at 16px/em */
}

View File

@@ -1,11 +1,13 @@
<form id="demo_organization_add_email_form">
<p>{{t "If you haven't updated your name, you may want to do so before inviting other users to join." }}</p>
<div class="input-group">
<label for="demo_organization_add_email" class="modal-field-label">{{t "Email" }}</label>
<input id="demo_organization_add_email" type="text" name="email" class="modal_text_input" value="{{delivery_email}}" autocomplete="off" spellcheck="false" autofocus="autofocus"/>
</div>
<div class="input-group">
<label for="demo_organization_update_full_name" class="modal-field-label">{{t "Name" }}</label>
<p id="demo-owner-update-email-field-hint">
{{t "If you haven't updated your name, you may want to do so before inviting other users to join."}}
</p>
<input id="demo_organization_update_full_name" name="full_name" type="text" class="modal_text_input" value="{{full_name}}" maxlength="60" />
</div>
</form>