% -%>
<%=h @current_candidate.name %>
(<%= link_to_remote "Delete",
:complete => "Element.remove('cand#{@current_candidate.id}')",
:url => { :action => :delete_candidate,
:id => @current_candidate.id } %> |
<%= link_to "Edit", :action => 'edit_candidate', :id =>
@current_candidate.id %>)
<% if @current_candidate.picture? %> <% end %> <% if @current_candidate.description.length > 0 %>Description: <% else %>
<%= h(@current_candidate.description) %><% end %>