]> projects.mako.cc - selectricity/blob - app/views/election/_candidate_line_edit.rhtml
Changed justin's email in README because mit.edu address is out of date.
[selectricity] / 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 => @election.id, :candidate => @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?