Permalink
Browse files

showing how to use delete checkbox in comments

  • Loading branch information...
1 parent fb10d06 commit 3bb8ec1ae9964f09fa562d27388a4af48d62a9df @ryanb committed Aug 5, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 app/views/projects/_task.html.erb
@@ -2,4 +2,7 @@
<%= f.label :name, "Task" %>
<%= f.text_field :name %>
<%= remove_task_link "remove", f %>
+ <%# Alternatively you can use a check box: %>
+ <%# f.check_box :_delete %>
+ <%# f.label :_delete, "(remove)" %>
</div>

0 comments on commit 3bb8ec1

Please sign in to comment.