Add headings
This commit is contained in:
parent
29bd105072
commit
e70279a1b2
1 changed files with 4 additions and 2 deletions
|
|
@ -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' %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue