2019-07-07 11:18:12 +05:30
|
|
|
- form = local_assigns.fetch(:form)
|
|
|
|
.form-group
|
2023-03-17 16:20:25 +05:30
|
|
|
.js-notification-email-listbox-input{ data: { label: _('Notification Email'), name: 'user[notification_email]', emails: @user.public_verified_emails.to_json, empty_value_text: _('Use primary email (%{email})') % { email: @user.email }, value: @user.notification_email, disabled: local_assigns.fetch(:email_change_disabled, nil) } }
|
2019-07-07 11:18:12 +05:30
|
|
|
.help-block
|
|
|
|
= local_assigns.fetch(:help_text, nil)
|
2021-03-11 19:13:27 +05:30
|
|
|
.form-group
|
2022-06-21 17:19:12 +05:30
|
|
|
= form.gitlab_ui_checkbox_component :email_opted_in, _('Receive product marketing emails')
|