parent
cac94c2379
commit
e474a9a8ea
14 changed files with 283 additions and 97 deletions
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
<h3><%= _("Actions for organizers") %></h2>
|
||||
|
||||
<form action="/votes/<%= @vote.secure_id %>/open" method="post">
|
||||
<form action="/votes/<%= @vote.secure_id %>/open" method="get">
|
||||
<% if @vote.candidates.length < 2 %>
|
||||
<button type="submit" disabled><%= _("Open vote to participants") %></button>
|
||||
<p><%= _("Add at least 2 candidates before opening the vote to participants.") %></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue