X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/c933ff40da110253bc4c474d9c79c3a4ed98721d..5fd5cba6038d0ed97adb735cd24cc70c26335a3e:/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' %>
+ >
+