Skip to content

Commit

Permalink
Elections database only goes back to 2016
Browse files Browse the repository at this point in the history
This also reformats the table header as a table caption
  • Loading branch information
VirginiaDooley committed May 2, 2024
1 parent 14c1102 commit dbc0914
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

{% if object.personpost_set.exists %}
<div class="ds-table ds-stack">
<h2 class="ds-h3">{% blocktrans trimmed with person_name=object.name %}{{ person_name }}'s elections{% endblocktrans %}</h2>
<table>
<caption><h2>{% blocktrans trimmed with person_name=object.name %}{{ person_name }}'s elections{% endblocktrans %}</h2></caption>
<tr>
<th>{% trans "Date" %}</th>
<th>{% trans "Election" %}</th>
Expand Down Expand Up @@ -45,5 +45,7 @@ <h2 class="ds-h3">{% blocktrans trimmed with person_name=object.name %}{{ person
</tr>
{% endfor %}
</table>
<small>Please note our local elections database only goes back to 2016.</small>

</div>
{% endif %}

0 comments on commit dbc0914

Please sign in to comment.