]> projects.mako.cc - selectricity-live/blob - app/views/election/_candidate_line_edit.rhtml
Ordered pref tables so that the smallest margin of vicotry appears first and the...
[selectricity-live] / app / views / election / _candidate_line_edit.rhtml
1 <div class="candidate_box" id="cand<%= @current_candidate.id %>">
2   <div class="candidate_box_name">
3   
4   <%=h @current_candidate.name %></div>
5   <div class="candidate_box_menu">
6   <%= link_to_remote "Delete",
7                        :complete => "Element.remove('cand#{@current_candidate.id}')",
8                        :url => { :action => :delete_candidate,
9                        :id => @current_candidate.id } %>
10    </div>
11    <div class="clear-div"></div>
12    <%= render :partial => 'candidate_box_info' %>
13 </p>
14 </div>

Benjamin Mako Hill || Want to submit a patch?