Skip to content

Commit

Permalink
Merge pull request #1009 from nationalarchives/feature/1510-judges-ca…
Browse files Browse the repository at this point in the history
…n-search-by-multiple-names

Update search form labels for 'or' judge search
  • Loading branch information
timcowlishaw authored Nov 29, 2023
2 parents 2956068 + a07fb2a commit 73a0ae0
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<div class="structured-search__limit-to-container">
<fieldset class="{% if context.errors|has_errors_for_field:"from_date" %}with-errors{% endif %}">
<legend class="structured-search__limit-to-label">From date</legend>
<p class="structured-search__help-text" id="from_date-help-text">For example 01 01 2003 or 2003</p>
<p class="structured-search__help-text" id="from_date-help-text">
For example <em>01 01 2003</em> or <em>2003</em>
</p>
{% if context.errors|has_errors_for_field:"from_date" %}
<p class="structured-search__from-date-error-message"
id="from-date-error">{{ context.errors|errors_for_field:"from_date" }}</p>
Expand Down Expand Up @@ -39,7 +41,9 @@
<div class="structured-search__limit-to-container">
<fieldset class="{% if context.errors|has_errors_for_field:"to_date" %}with-errors{% endif %}">
<legend class="structured-search__limit-to-label">To date</legend>
<p class="structured-search__help-text" id="to_date-help-text">For example 30 04 2023 or 2023</p>
<p class="structured-search__help-text" id="to_date-help-text">
For example <em>30 04 2023</em> or <em>2023</em>
</p>
{% if context.errors|has_errors_for_field:"to_date" %}
<p class="structured-search__to-date-error-message" id="from-date-error">
{{ context.errors|errors_for_field:"to_date" }}
Expand Down Expand Up @@ -107,7 +111,7 @@
class="structured-search__limit-to-label"
aria-label="Search by judge name">Judge name</label>
<p class="structured-search__help-text" id="judge_name-help-text">
For example 'Smith', 'Judge Smith' or 'Lord Justice Smith'
For example <em>Smith</em>, or multiple judges separated by commas: <em>Smith, Jones</em>
</p>
<input class="structured-search__limit-to-input"
id="judge_name"
Expand Down

0 comments on commit 73a0ae0

Please sign in to comment.