Skip to content

Commit f218598

Browse files
Use correct translation pattern
1 parent f4ebf5c commit f218598

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

app/views/publishers/vacancies/job_applications/online_checks/edit.html.slim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
= form_with model: @job_application, url: organisation_job_job_application_online_checks_path(@vacancy.id, @job_application.id), method: :patch do |f|
1515
= f.govuk_error_summary
1616

17-
= f.govuk_radio_buttons_fieldset :online_checks, legend: { text: t(".question"), size: "m" } do
18-
= f.govuk_radio_button :online_checks, :yes, label: { text: t(".yes") }
19-
= f.govuk_radio_button :online_checks, :no, label: { text: t(".no") }
17+
= f.govuk_radio_buttons_fieldset :online_checks, legend: { size: "m" } do
18+
= f.govuk_radio_button :online_checks, :yes
19+
= f.govuk_radio_button :online_checks, :no
2020
= f.govuk_radio_divider
21-
= f.govuk_radio_button :online_checks, :not_doing, label: { text: t(".not_doing") }
21+
= f.govuk_radio_button :online_checks, :not_doing
2222

2323
= f.govuk_submit t(".save_and_update")
2424

config/locales/publishers/vacancies/job_applications.en.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
en:
2+
helpers:
3+
label:
4+
job_application:
5+
online_checks_options:
6+
"yes": "Yes"
7+
"no": "No"
8+
not_doing: Not doing online checks
9+
legend:
10+
job_application:
11+
online_checks: Have online checks been completed?
212
publishers:
313
vacancies:
414
job_applications:
@@ -123,10 +133,6 @@ en:
123133
online_checks: Online checks
124134
intro_paragraph_1: Schools and colleges should consider carrying out an online search as part of their due diligence on the shortlisted candidates. This may help identify any incidents or issues that have happened, and are publicly available online, which you might want to explore with the applicant at interview.
125135
intro_paragraph_2: Your online search approach should be agreed in advance and applied consistently to all shortlisted candidates.
126-
question: Have online checks been completed?
127-
"yes": "Yes"
128-
"no": "No"
129-
not_doing: Not doing online checks
130136
save_and_update: Save and update
131137
update:
132138
success: Online checks updated

0 commit comments

Comments
 (0)