Skip to content

Commit ab0aea0

Browse files
Add job link to reference flow question (#8431)
## Trello card URL https://trello.com/c/SwlSZ9QT/2471-update-reference-flow-question ## Changes in this PR: This PR adds a link to one of the questions in the reference flow to allow the referee to refer to the job in question. ## Screenshots of UI changes: <img width="1023" height="300" alt="Screenshot 2026-01-16 at 14 28 57" src="https://github.com/user-attachments/assets/0f8d87f3-9d25-435e-a94e-fe6e422e254a" /> ## Checklists: ### Data & Schema Changes If this PR modifies data structures or validations, check the following: - [ ] Adds/removes model validations - [ ] Adds/removes database fields - [ ] Modifies Vacancy enumerables (phases, working patterns, job roles, key stages, etc.) <details> <summary>If any of the above options has changed then the author must check/resolve all of the following...</summary> ### Integration Impact Does this change affect any of these integrations? - [ ] DfE Analytics platform - [ ] Legacy imports mappings - [ ] DWP Find a Job export mappings - [ ] Publisher ATS API (may require mapping updates or API versioning) ### User Experience & Data Integrity Could this change impact: - [ ] Existing subscription alerts (will legacy subscription search filters break?) - [ ] Legacy vacancy copying (will copied vacancies fail new validations?) - [ ] In-progress drafts for Vacancies or Job Applications </details>
1 parent 456a4e4 commit ab0aea0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/views/referees/build_references/reference_information.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ h1.govuk-heading-l = t(".heading", name: @referee.job_application.name)
3535
p.govuk-hint = t(".must_report")
3636
= f.govuk_radio_button :not_fit_to_practice, "false"
3737

38-
= f.govuk_radio_buttons_fieldset :able_to_undertake_role, legend: { tag: "h2" } do
38+
= f.govuk_radio_buttons_fieldset :able_to_undertake_role, legend: { tag: "h2", text: t("helpers.legend.referees_reference_information_form.able_to_undertake_role_html", link: open_in_new_tab_link_to(t("helpers.legend.referees_reference_information_form.able_to_undertake_role_link_text"), job_path(@referee.job_application.vacancy))) } do
3939
= f.govuk_radio_button :able_to_undertake_role, "true"
4040
= f.govuk_radio_button :able_to_undertake_role, "false" do
4141
= f.govuk_text_area :unable_to_undertake_reason, label: nil, rows: 5, max_chars: Referees::ReferenceInformationForm::MAX_REFERENCE_FIELD_LENGTH

config/locales/publishers/build_reference_forms.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,11 @@ en:
220220
If the candidate is employed in a position where they are subject to a fit and proper persons check,
221221
have they been investigated for, or been found not fit to practice?
222222
able_to_undertake_role: >-
223-
To the best of your knowledge and with reference to the attached job description and person specification,
223+
To the best of your knowledge and with reference to the job description and person specification,
224224
are you satisfied that the candidate has the ability and is suitable to undertake this role?
225+
able_to_undertake_role_html: "To the best of your knowledge and with %{link}, are you satisfied that the candidate has the ability and is suitable to undertake this role?"
226+
able_to_undertake_role_link_text: reference to the attached job description and person specification
227+
225228

226229
referees_how_would_you_rate_form1:
227230
punctuality: Punctuality/timekeeping

0 commit comments

Comments
 (0)