demo-orgs: Add email address visibility update to add email modal.

Adds a field to update the demo organization owner's email address
visibility setting when they are adding an email to their account.
This commit is contained in:
Lauryn Menard
2025-10-20 18:44:10 +02:00
committed by Tim Abbott
parent ef2c2fe885
commit 476ee37bf3
2 changed files with 18 additions and 0 deletions

View File

@@ -3,6 +3,17 @@
<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_owner_email_address_visibility" class="modal-field-label">
{{t "Who can access your email address"}}
{{> help_link_widget link="/help/configure-email-visibility" }}
</label>
<select id="demo_owner_email_address_visibility" name="demo_owner_email_address_visibility" class="modal_select bootstrap-focus-style">
{{#each email_address_visibility_values}}
<option value="{{this.code}}">{{this.description}}</option>
{{/each}}
</select>
</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">