28 lines
786 B
Text
28 lines
786 B
Text
<h1><%= _("Open vote") %></h1>
|
|
|
|
<p><%= _("Closing date: #{format_date(@expire_on)}") %></p>
|
|
|
|
<p><%= _("The vote will automatically close on that date and the results will
|
|
be sent to all users by email.") %></p>
|
|
|
|
<p><%= _("You won't be able to modify or delete this vote anymore after
|
|
opening it.") %></p>
|
|
|
|
<form action="/votes/<%= @vote.secure_id %>/open" method="post">
|
|
<button type="submit"><%= _("Open vote to participants") %></button>
|
|
</form>
|
|
|
|
<form action="/votes/<%= @vote.secure_id %>" method="get">
|
|
<button type="submit"><%= _("Cancel") %></button>
|
|
</form>
|
|
|
|
<h2><%= @vote.title %></h2>
|
|
|
|
<p><%= @vote.description %></p>
|
|
|
|
<h2><%= _("Candidates") %></h2>
|
|
|
|
<% @vote.candidates.each do |candidate| %>
|
|
<h3><%= candidate.name %></h3>
|
|
<p><%= candidate.description %></p>
|
|
<% end %>
|