- :id => @current_candidate.id } %> |
- <%= link_to "Edit", :action => 'edit_candidate', :id =>
- @current_candidate.id %>)<br />
- <blockquote>
- <table><tr><td valign="top">
- <% if @current_candidate.picture? %>
- <img src="<%= url_for :action => 'candidate_picture',
- :id => @current_candidate.id %>"
- align="top" />
- <% end %>
- </td>
- <td valign="top">
- <em>Description:</em><br />
- <%= h(@current_candidate.description) %>
- </td></tr></table>
- </blockquote>
+ :id => @election.id, :candidate => @current_candidate.id } %>
+ </div>
+ <div class="clear-div"></div>
+ <%= render :partial => 'candidate_box_info' %>