Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
showing how to use delete checkbox in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Aug 5, 2009
1 parent fb10d06 commit 3bb8ec1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/projects/_task.html.erb
Expand Up @@ -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.