CHECKBOX <%= check_box_tag :worksafe, value = "1", checked = image.worksafe, :onchange => remote_function( :update => "status", :url => "/image/worksafe/" + image.id.to_s )%> FORM <%= form_remote_tag(:update => "status", :url => "/image/worksafe/" + image.id.to_s) %> <%= check_box_tag :worksafe, value = "1", checked = image.worksafe%> <%= submit_tag "Change status", :name => image.sha %> <%= end_form_tag %>