On Tue, May 18, 2010 at 12:49 PM, frankjmat...@gmail.com
<frankjmat...@gmail.com> wrote:
> so i can have a form submit to update, have the submit buttons have
> different values and then in the update action figure out which one
> was clicked?

Exactly.

> what is necessary beyond f.submit in my view?

Just create multiple tags with different values, e.g.

<%= submit_tag 'Accumulate' %>
<%= submit_tag 'Release' %>
<%= submit_tag 'Tenderize' %>   # etc....

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to