X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/fc0a6a8d7ea15bcdb27ebdd58721401c7045c6e0..f0b41c2a66b9696a55e0bca008e215118b341ce5:/app/views/election/_candidate_line.rhtml diff --git a/app/views/election/_candidate_line.rhtml b/app/views/election/_candidate_line.rhtml old mode 100755 new mode 100644 index 5145b88..2fc9a63 --- a/app/views/election/_candidate_line.rhtml +++ b/app/views/election/_candidate_line.rhtml @@ -1,19 +1,17 @@ -<% -%>
-
  • <%= @current_candidate.name -%> - <% if @show_details %> - (<%= link_to_remote "Hide Details", - :update => "cand#{@current_candidate.id}", - :url => { :action => :lessinfo_candidate, :id => @current_candidate.id } %>) -
    -
    - <%= h(@current_candidate.description) %> -
    - <% else %> - (<%= link_to_remote "Show Details", - :update => "cand#{@current_candidate.id}", - :url => { :action => :moreinfo_candidate, - :id => @current_candidate.id } %>) - <% end %> +
  • <%=h @current_candidate.name -%> + + (<%= link_to "Show Details", "#", + :onclick => "show_candidate_info(#{@current_candidate.id}); return false;" %>) + +