X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/cc4532dee83d19baf79b35fadf7064b9b5c3948a..1660465f3e072cbddc19b19f7f8869affb0694c5:/app/views/elections/_candidate_line.rhtml diff --git a/app/views/elections/_candidate_line.rhtml b/app/views/elections/_candidate_line.rhtml new file mode 100644 index 0000000..7f68e6f --- /dev/null +++ b/app/views/elections/_candidate_line.rhtml @@ -0,0 +1,11 @@ +
+
  • + <%= @candidate.name %> + <% if @edit %> + <%= link_to_remote "Delete", + :complete => "Element.remove('cand#{@candidate.id}')", + :url => { :action => :delete_candidate, :id => @candidate.id } %> + <% end %> + +
  • +