X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/2fbe78e290a7b405067fddb52cad684fa5c8f3ba..6aacfa3b17f012fbdaa191a89af9fc51d7250d79:/app/views/election/_candidate_line.rhtml?ds=inline diff --git a/app/views/election/_candidate_line.rhtml b/app/views/election/_candidate_line.rhtml index 870a2de..2fc9a63 100644 --- a/app/views/election/_candidate_line.rhtml +++ b/app/views/election/_candidate_line.rhtml @@ -1,19 +1,17 @@ -<% -%>
  • <%=h @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 %> + + (<%= link_to "Show Details", "#", + :onclick => "show_candidate_info(#{@current_candidate.id}); return false;" %>) + +