parent
9993d04ab0
commit
5fa73da51a
12 changed files with 484 additions and 82 deletions
|
|
@ -1,12 +1,12 @@
|
|||
<h1><%= @vote.title %></h1>
|
||||
|
||||
<% if @vote.expire_on %>
|
||||
<p><%= _("Closing date: #{format_date(@vote.expire_on)}") %></p>
|
||||
<p><%= _("Closing date: %{date}" % { date: format_date_and_time(@vote.expire_on) }) %></p>
|
||||
<% end %>
|
||||
|
||||
<p><%= @vote.description %></p>
|
||||
|
||||
<% if @vote.ratings.length > 0 %>
|
||||
<% unless @vote.ratings.blank? %>
|
||||
|
||||
<h2><%= _("All ratings") %></h2>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue