Skip to content

Commit

Permalink
Update content
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpattinson committed Jan 20, 2025
1 parent b4bf3f8 commit 28bc733
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 27 deletions.
22 changes: 17 additions & 5 deletions app/views/pages/you_should_know.html.erb
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
<% content_for :page_title, "What will happen after you refer the teacher for serious misconduct" %>
<% content_for :page_title, "What will happen after you report the teacher for serious misconduct" %>
<% content_for :back_link_url, @previous_path %>

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds-from-desktop">
<h1 class="govuk-heading-l">
What will happen after you refer the teacher for serious misconduct
What will happen after you report the teacher for serious misconduct
</h1>

<p class="govuk_body">
If your case is investigated, your name and allegation will be shared with the teacher and their employer. Your contact details will not be shared.
The TRA will check your report to see if it falls within the TRA's responsibilites
</p>

<p class="govuk_body">
You might need to give evidence at a hearing.
To make this decision, they may require further information from you. They will write to you if they need this.
</p>

<p class="govuk_body">
Your referral will be kept on file for up to 50 years.
If your report falls within their responsibilities they will assess it to determine if an investigation is required.
</p>

<p class="govuk_body">
If your report is investigated, your name and allegation will be shared with the teacher and their employer. Your contact details will not be shared.
</p>

<p class="govuk_body">
You might need to give evidence at a hearing.
</p>

<p class="govuk_body">
Your report may be kept on file for up to 50 years
</p>

<%= govuk_button_link_to "I understand and want to continue", @continue_path, classes: 'govuk-!-margin-top-2 govuk-!-margin-bottom-9' %>
Expand Down
6 changes: 3 additions & 3 deletions app/views/public_referrals/review/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% content_for :page_title, 'Check details and send referral' %>
<% content_for :page_title, 'Check details and send report' %>
<% content_for :back_link_url, polymorphic_path([:edit, current_referral.routing_scope, current_referral]) %>

<div class="govuk-grid-row">
Expand All @@ -8,7 +8,7 @@
<%= form_with model: @referral_form, url: [current_referral.routing_scope, current_referral, :review], method: :put do |f| %>
<%= f.govuk_error_summary presenter: back_linked_error_presenter %>

<h1 class="govuk-heading-l govuk-!-margin-bottom-9">Check details and send referral</h1>
<h1 class="govuk-heading-l govuk-!-margin-bottom-9">Check details and send report</h1>

<%= render "public_referrals/shared/review" %>

Expand All @@ -17,7 +17,7 @@
<%= render partial: 'shared/declaration' %>

<button class="govuk-button" data-module="govuk-button">
Agree and send referral
Agree and send report
</button>
<% end %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/referrals/review/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% content_for :page_title, 'Check details and send referral' %>
<% content_for :page_title, 'Check details and send report' %>
<% content_for :back_link_url, polymorphic_path([:edit, current_referral.routing_scope, current_referral]) %>

<div class="govuk-grid-row">
Expand Down
8 changes: 4 additions & 4 deletions app/views/shared/_declaration.html.erb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<p>By sending this referral, you agree that:</p>
<p>By sending this report, you agree that:</p>

<ul class="govuk-list govuk-list--bullet">
<li>your allegation will be investigated, which could result in the person you’re referring being stopped from teaching</li>
<li>your allegation will be investigated, which could result in the person you’re reporting being stopped from teaching</li>
<li>your answers are true to the best of your knowledge and belief</li>
<li>your referral, any evidence and supporting information will be shared with the person you’re referring and any employer</li>
<li>your report, any evidence and supporting information will be shared with the person you’re reporting and any employer</li>
<li>you have permission from the relevant third parties for any evidence and supporting information to be shared, for example the police or <abbr title="Disclosure and Barring Service">DBS</abbr></li>
<li>you may need to attend a hearing and give evidence if your allegation reaches that stage</li>
<li>your referral will be kept on file for 50 years</li>
<li>your report will be kept on file for 50 years</li>
</ul>
16 changes: 8 additions & 8 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,14 +431,14 @@ en:
email_address_format: Enter an email address in the correct format, like name@example.com
missing_staff_permission: Select permissions
incomplete_section:
referrer_details: You must complete your details before you can send your referral
referrer_organisation: You must complete your organisation before you can send your referral
teacher_personal_details: You must complete personal details before you can send your referral
teacher_contact_details: You must complete contact details before you can send your referral
teacher_role: You must complete details about the role before you can send your referral
allegation_details: You must complete allegation details before you can send your referral
allegation_previous_misconduct: You must complete previous misconduct details before you can send your referral
allegation_evidence: You must complete evidence and supporting information before you can send your referral
referrer_details: You must complete your details before you can send your report
referrer_organisation: You must complete your organisation before you can send your report
teacher_personal_details: You must complete personal details before you can send your report
teacher_contact_details: You must complete contact details before you can send your report
teacher_role: You must complete details about the role before you can send your report
allegation_details: You must complete allegation details before you can send your report
allegation_previous_misconduct: You must complete previous misconduct details before you can send your report
allegation_evidence: You must complete evidence and supporting information before you can send your report

pundit:
unauthorized: You do not have permission to view this page
6 changes: 3 additions & 3 deletions spec/system/public_referrals/user_submits_referral_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

def then_i_see_the_check_answers_page
expect(page).to have_current_path(public_referral_review_path(@referral))
expect(page).to have_title("Check details and send referral")
expect(page).to have_content("Check details and send referral")
expect(page).to have_title("Check details and send report")
expect(page).to have_content("Check details and send report")
end

def then_i_see_the_confirmation_page
Expand All @@ -49,7 +49,7 @@ def then_i_see_the_missing_declaration_error
end

def when_i_click_send_referral
click_on "Agree and send referral"
click_on "Agree and send report"
end
alias_method :and_i_click_send_referral, :when_i_click_send_referral

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def then_i_can_complete_the_screener_as_an_employer

expect(
page
).to have_content "What will happen after you refer the teacher for serious misconduct"
).to have_content "What will happen after you report the teacher for serious misconduct"
click_on "I understand and want to continue"
expect(page).to have_content "Your referral"
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ def then_i_see_the_consider_if_you_should_make_a_referral_page
def then_i_see_the_you_should_know_page
expect(page).to have_current_path("/you-should-know")
expect(page).to have_title(
"What will happen after you refer the teacher for serious misconduct - " \
"What will happen after you report the teacher for serious misconduct - " \
"Refer serious misconduct by a teacher in England"
)
expect(page).to have_content(
"What will happen after you refer the teacher for serious misconduct"
"What will happen after you report the teacher for serious misconduct"
)
end

Expand Down

0 comments on commit 28bc733

Please sign in to comment.