diff --git a/views/votes_open.erb b/views/votes_open.erb index 0290bd1..6e3670e 100644 --- a/views/votes_open.erb +++ b/views/votes_open.erb @@ -1,6 +1,6 @@

<%= _("Open vote") %>

-

<%= _("Closing date: %{date}" % { date: format_date_and_time(@expire_on) }) %>

+

<%= _("Closing date: %{date}") % { date: format_date_and_time(@expire_on) } %>

<%= _("The vote will automatically close on that date and the results will be sent to all users by email.") %>

diff --git a/views/votes_show_closed.erb b/views/votes_show_closed.erb index 549bba8..788f38c 100644 --- a/views/votes_show_closed.erb +++ b/views/votes_show_closed.erb @@ -1,7 +1,7 @@

<%= @vote.title %>

<% if @vote.expire_on %> -

<%= _("Closing date: %{date}" % { date: format_date_and_time(@vote.expire_on) }) %>

+

<%= _("Closing date: %{date}") % { date: format_date_and_time(@vote.expire_on) } %>

<% end %> <%= markdown(@vote.description) %> diff --git a/views/votes_show_open.erb b/views/votes_show_open.erb index 76f73b0..9935f43 100644 --- a/views/votes_show_open.erb +++ b/views/votes_show_open.erb @@ -3,13 +3,13 @@ <% if @errors %> <% @errors.each do |error| %> <% if error.attribute == :rating and error.type == :blank %> -

<%= _("Missing rating for candidate %{name}." % { name: error.candidate.name }) %>

+

<%= _("Missing rating for candidate %{name}.") % { name: error.candidate.name } %>

<% end %> <% end %> <% end %> <% if @vote.expire_on %> -

<%= _("Closing date: %{date}" % { date: format_date_and_time(@vote.expire_on) }) %>

+

<%= _("Closing date: %{date}") % { date: format_date_and_time(@vote.expire_on) } %>

<% end %> <%= markdown(@vote.description) %>