Skip to content

Commit

Permalink
Implement content changes from audit
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpattinson committed Aug 8, 2024
1 parent 4bf1cfb commit baa3d1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/searches/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<%= form_with(model: @search_form, url: result_path, method: :get) do |f| %>
<%= f.govuk_error_summary(presenter: SearchFormErrorSummaryPresenter) %>

<h1 class="govuk-heading-l">Check the Children’s Barred List</h1>
<h1 class="govuk-heading-l">Check the children’s barred list</h1>

<%= f.govuk_text_field :last_name, class: "govuk-input--width-20", label: { text: "Last name", size: "s" } %>
<%= f.govuk_date_field :date_of_birth, date_of_birth: true, legend: { text: "Date of birth", size: "s" }, hint: { text: "For example, 31 3 #{40.years.ago.year}" } %>
Expand Down
6 changes: 3 additions & 3 deletions app/views/searches/no_record.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l">No record found on the Children’s Barred List</h1>
<h1 class="govuk-heading-l">No record found on the children’s barred list</h1>

<p class="govuk_body">
No record found for <%= @search.last_name %> born on <%= Date.parse(@search.date_of_birth).to_fs(:long_uk) %>
No record found for <%= @search.last_name %> born on <%= Date.parse(@search.date_of_birth).to_fs(:long_uk) %>.
</p>

<p class="govuk_body">
<%= govuk_link_to "Try another search", root_path %>
<%= govuk_link_to "Search again", root_path %>
</p>
</div>
</div>

0 comments on commit baa3d1e

Please sign in to comment.