Skip to content

Commit

Permalink
<fieldset> structures within the catalogue search results page.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHeeryTNA committed Sep 19, 2023
1 parent 5c64bce commit 3f413bc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion templates/search/blocks/search_filters.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h4 class="tna-heading search-filters__accordion-section-heading" id="record_cov
<div>{{ form.covering_date_from.label_tag }}</div>

<div class="search-filters__creation-date-section">

<fieldset>
{% if form.covering_date_from.errors %}
<div
data-tracking-errors
Expand All @@ -64,9 +64,11 @@ <h4 class="tna-heading search-filters__accordion-section-heading" id="record_cov
</div>
{% endif %}
{{ form.covering_date_from }}
</fieldset>
</div>

<div class="search-filters__creation-date-section">
<fieldset>
{{ form.covering_date_to.label_tag }}
{% if form.covering_date_to.errors %}
<div
Expand All @@ -77,6 +79,7 @@ <h4 class="tna-heading search-filters__accordion-section-heading" id="record_cov
</div>
{% endif %}
{{ form.covering_date_to }}
</fieldset>
</div>

<input type="submit" value="Update" class="search-filters__submit">
Expand Down Expand Up @@ -111,6 +114,7 @@ <h4 class="tna-heading search-filters__accordion-section-heading" id="record_ope
</legend>

<div class="search-filters__opening-date-section">
<fieldset>
<span class="example-text">For example, 27 3 2007</span><br>
{{ form.opening_start_date.label_tag }}
{% if form.opening_start_date.errors %}
Expand All @@ -122,10 +126,12 @@ <h4 class="tna-heading search-filters__accordion-section-heading" id="record_ope
</div>
{% endif %}
{{ form.opening_start_date }}
</fieldset>
</div>


<div class="search-filters__opening-date-section">
<fieldset>
{{ form.opening_end_date.label_tag }}
{% if form.opening_end_date.errors %}
<div
Expand All @@ -136,6 +142,7 @@ <h4 class="tna-heading search-filters__accordion-section-heading" id="record_ope
</div>
{% endif %}
{{ form.opening_end_date }}
</fieldset>
</div>

<input type="submit" value="Update" class="search-filters__submit">
Expand Down

0 comments on commit 3f413bc

Please sign in to comment.