Skip to content

Commit

Permalink
ER-807 Minor text fix (#1257)
Browse files Browse the repository at this point in the history
* Remove role hint text
* Update spec
  • Loading branch information
martikat authored Jul 9, 2024
1 parent 0f7ac10 commit 0ad9e2a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/registration/role_types/edit.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

= f.govuk_fieldset legend: { text: t('register_role.heading') }, aria: { required: true } do
.data-hj-suppress
= f.govuk_collection_radio_buttons :role_type, form.role_types, :name, :name, legend: { text: t('register_role.label'), class: 'govuk-visually-hidden' }, hint: { text: t('register_role.body') }, form_group: { classes: %w[data-hj-suppress] }
= f.govuk_collection_radio_buttons :role_type, form.role_types, :name, :name, legend: { text: t('register_role.label'), class: 'govuk-visually-hidden' }, form_group: { classes: %w[data-hj-suppress] }

p.govuk_body
= govuk_link_to t('register_role.other_link'), edit_registration_role_type_other_path
Expand Down
1 change: 0 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ en:
register_role:
heading: Which of the following best describes your role?
label: Role type
body: Your role
other_link: I would describe my role in another way.

# /registration/role-type-other/edit
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/seed_snippets_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
subject(:locales) { described_class.new.call }

it 'converts all translations' do
expect(locales.count).to be 202
expect(locales.count).to be 201
end

it 'dot separated key -> Page::Resource#name' do
Expand Down

0 comments on commit 0ad9e2a

Please sign in to comment.