X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/a1379415812ddd0e464aa3304b6fbb57ccf3373d..6ea52ab5c0c29ce60f5a8ee2747eb52f47d5b884:/app/views/quickvote/index.rhtml diff --git a/app/views/quickvote/index.rhtml b/app/views/quickvote/index.rhtml index e7cac3d..1179b7c 100644 --- a/app/views/quickvote/index.rhtml +++ b/app/views/quickvote/index.rhtml @@ -1,14 +1,14 @@ <% %> <% if @voter.election.shortdesc %> -

<%= @voter.election.shortdesc %>

+

<%=h @voter.election.shortdesc %>

<% else %>

QuickVote

<% end %> <% if @voter.election.longdesc %>

Description:

-
<%= @voter.election.longdesc %>
+
<%=h @voter.election.longdesc %>

Vote

<% end %> @@ -31,7 +31,7 @@ bottom. When you are done, press confirm to record your vote.

    <% for ranking in @voter.vote.rankings %>
  1. - <%= ranking.candidate.name.capitalize %>
  2. + <%=h ranking.candidate.name.capitalize %> <% end %>