The only way to have a link to submit a form is with JavaScript.
Search for it and you''ll find many examples out there. There are a
couple of ways to do it.
Note that not all browsers support JavaScript, so you may need buttons
as alternates w/ <NOSCRIPT>.
--dwf
On Oct 18, 8:15 pm, "rosoft2001"
<adin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> How I replace:
>
> <%= submit_tag "Search" %>
>
> with a text link? (like link_to or so?)
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---