Add headings

This commit is contained in:
ricola 2026-04-20 16:05:07 -06:00
parent 29bd105072
commit e70279a1b2

View file

@ -30,14 +30,16 @@
<table class="table table-striped mb-5">
<thead>
<tr>
<td></td>
<td></td>
<th><%= _("Created") %></th>
<th><%= _("Expired") %></th>
<th><%= _("State") %></th>
</tr>
</thead>
<tbody>
<% @votes.reverse.each do |vote| %>
<tr>
<td><%= format_date(vote.created_at) %></td>
<td><%= format_date(vote.expire_on) if vote.expire_on %></td>
<td class="text-nowrap">
<% case vote.state
when 'draft' %>