X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c933ff40da110253bc4c474d9c79c3a4ed98721d..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 7f68e6f..2fc9a63 100644
--- a/app/views/election/_candidate_line.rhtml
+++ b/app/views/election/_candidate_line.rhtml
@@ -1,11 +1,17 @@
-
-
- <%= @candidate.name %>
- <% if @edit %>
- <%= link_to_remote "Delete",
- :complete => "Element.remove('cand#{@candidate.id}')",
- :url => { :action => :delete_candidate, :id => @candidate.id } %>
- <% end %>
+
+
<%=h @current_candidate.name -%>
+
+ (<%= link_to "Show Details", "#",
+ :onclick => "show_candidate_info(#{@current_candidate.id}); return false;" %>)
+
+
+ (<%= link_to "Hide Details", "#",
+ :onclick => "hide_candidate_info(#{@current_candidate.id}); return false;" %>)
+
+
+ <%= render :partial => 'candidate_box_info' %>
+ >
+