X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c933ff40da110253bc4c474d9c79c3a4ed98721d..d799e41626ef94ab28a3b5517dd2ed7d1e6b1001:/app/views/election/_candidate_line.rhtml
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' %>
+ >
+