X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/da8a3c5c6efcad4e4a5424a09c0479f7ee52a9ec..57a193789d1f48a856816c357483cfd7c621cd9d:/app/views/election/show.rhtml
diff --git a/app/views/election/show.rhtml b/app/views/election/show.rhtml
index 5de6081..ff116f4 100644
--- a/app/views/election/show.rhtml
+++ b/app/views/election/show.rhtml
@@ -51,12 +51,31 @@
Elections will be embeddable.
<% end %>
+<% if @election.kiosk %>
+Selectricity's kiosk mode will be available.
+<% end %>
+
+<% if @election.verifiable%>
+Voters will be given tokens to verify their votes.
+<% else %>
+Elections will not be voter verifiable.
+<% end %>
+
<% if @election.active? and not @election.authenticated? %>
-Link
-<%= (link_to ("Go Vote!",
- :controller => 'voter', :action => 'index', :election_id => @election.id)).to_s %>
+Link to election:
+
+- <%= (link_to ("Vote in election",
+ :controller => 'voter', :action => 'index', :election_id => @election.id)).to_s %>
+ (<%= votepassword_url(:urlpassword => "open." + @election.id.to_s) %>)
+
+<% if @election.kiosk %>
+- <%= (link_to ("Kiosk mode",
+ :controller => 'voter', :action => 'index', :election_id => @election.id, :kiosk => true)).to_s %>
+ (<%= votepassword_url(:urlpassword => "open." + @election.id.to_s, :kiosk => true) %>)
+ <% end %>
+
<% end -%>