X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/b47d1fbe36d5aeb9b79d6bbaab035ca448a3c3ef..adfcf4dd7d989d0560e2a8f6a590dd10c5a49a08:/app/views/election/_candidate_line_edit.rhtml diff --git a/app/views/election/_candidate_line_edit.rhtml b/app/views/election/_candidate_line_edit.rhtml index 0fd5b67..bcb7cd9 100644 --- a/app/views/election/_candidate_line_edit.rhtml +++ b/app/views/election/_candidate_line_edit.rhtml @@ -1,5 +1,7 @@
-
<%=h @current_candidate.name %>
+
+ + <%=h @current_candidate.name %>
<%= link_to_remote "Delete", :complete => "Element.remove('cand#{@current_candidate.id}')", @@ -7,22 +9,6 @@ :id => @current_candidate.id } %>
- -
-
- <% if @current_candidate.picture? %> - - <% end %> -
-
- <% if @current_candidate.description.length > 0 %> - <%= h(@current_candidate.description) %> - <% else %> - - <% end %> -
-
-
+ <%= render :partial => 'candidate_box_info' %>