2 <div id="cand<%= @current_candidate.id %>">
3 <p><strong><%= @current_candidate.name %></strong>
4 (<%= link_to_remote "Delete",
5 :complete => "Element.remove('cand#{@current_candidate.id}')",
6 :url => { :action => :delete_candidate,
7 :id => @current_candidate.id } %> |
8 <%= link_to "Edit", :action => 'edit_candidate', :id =>
9 @current_candidate.id %>)<br />
11 <table><tr><td valign="top">
12 <% if @current_candidate.picture? %>
13 <img src="<%= url_for :action => 'candidate_picture',
14 :id => @current_candidate.id %>"
19 <em>Description:</em><br />
20 <%= h(@current_candidate.description) %>