« Return to Thread: submit_to_remote with image

Re: submit_to_remote with image

by bill walton-2 :: Rate this Message:

Reply to Author | View in Thread


Hi Janna,

On Thu, 2009-07-09 at 08:44 -0700, JannaB wrote:
> Anyone have an idea how I can shoehorn (or workaround)  a
> submit_to_remote to accept html options so that I might put an image
> to it?

link_to_remote takes an image_tag in place of the name text and
the :submit option.

image_submit_tag will give you a straight HTTP submit with an image
instead of a button.

HTH,
Bill


--~--~---------~--~----~------------~-------~--~----~
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-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: submit_to_remote with image