hi,
i need to pass the value of a checkbox (simple boolean value 0/1) to a
rails action. how do i do that. the value has nothing todo with any
model used. i just want to pass the priority the mail should be sent,
without storing this value in the model. here my code
Urgent: <%= check_box “priority”, 1, 0) %>
…
Body:
…
<%= link_to ‘Send’, :controller => “newsletters”, :action =>
“sendmails”, :id => @newsletter, :priority => priority %>
…
is there some way which includes javascript? i have no form tag wrapped
around the code, because its in the show.erb.
thanks in advance