<%= @vote.title %>

<% if @errors %> <% @errors.each do |error| %> <% if error.attribute == :rating and error.type == :blank %>

<%= _("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) }) %>

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

<%= _("Your ratings") %>

<%= _("Participants") %>

<% unless @vote.organizers.blank? %>

<%= _("Organizers") %>

<% end %> <% if @vote.users.exists?(current_user.id) and @vote.expire_on.nil? %>

<%= _("Actions for organizers") %>

<%= _("Add organizer") %>

<% end %>