X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/adfcf4dd7d989d0560e2a8f6a590dd10c5a49a08..597d4add3416d06c2befb6368a06f6cea4215a39:/app/views/election/show.rhtml?ds=sidebyside diff --git a/app/views/election/show.rhtml b/app/views/election/show.rhtml index 87529d1..5a46af9 100644 --- a/app/views/election/show.rhtml +++ b/app/views/election/show.rhtml @@ -41,6 +41,11 @@ +<% unless @election.authenticated -%> +

Link

+<%= (link_to ("Go Vote!", + :controller => 'voter', :action => 'index', :election_id => @election.id)).to_s %> +<% end -%>
Candidates @@ -132,8 +137,7 @@

To embed your election, copy and paste the following code into your homepage:

-
-
<%= h("") %>
-
+
<%= h("") %>
<% end %>