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