Skip to content

Commit

Permalink
Merge pull request #838 from DFE-Digital/email-settings-wording-fix
Browse files Browse the repository at this point in the history
fix email preference text on account page
  • Loading branch information
jack-coggin authored Sep 19, 2023
2 parents e5e27d1 + 620a540 commit 68f4cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/user/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
- row.with_value { nil }
- email_preferences.with_row do |row|
- row.with_key { 'Email updates about this training course' }
- row.with_value(text: current_user.training_emails.nil? || current_user.training_emails ? t('.training_emails_true') : t('.training_emails_false'), classes: ['data-hj-suppress'])
- row.with_value(text: current_user.training_emails.nil? || current_user.training_emails ? t('my_account.training_emails_true') : t('my_account.training_emails_false'), classes: ['data-hj-suppress'])
- row.with_action(text: t('links.change'), href: edit_training_emails_user_path, visually_hidden_text: 'training_emails', html_attributes: { id: :edit_training_emails_user })

= content_resource 'my_account.closing.information'
Expand Down

0 comments on commit 68f4cb8

Please sign in to comment.