Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 247 Bytes
<%= form_for task, remote: true do |f| %>
<%= f.check_box :complete %>
<%= f.submit "Update" %>
<%= f.label :complete, task.name %>
<%= link_to "(remove)", task, method: :delete, data: {confirm: "Are you sure?"}, remote: true %>
<% end %>