bill walton wrote:
> Hi Eduardo,
> 
> Maybe it's just too early here, but I'm not following you.  For
> starters, why are you using _both_ link_to and image_submit_tag ?
> 
> It's kind of interesting that it's working at all.  I'd see if the HTML
> being generated (using Firefox, of course) validates.
> 
> Assuming that the buttons you want to disable are, in fact, form submit
> buttons, I'd lose the 'link_to' as a first step.  Let us know what the
> behavior is when you do that.
> 
> HTH,
> Bill

I'm using link_to with image_submit_tag justly to avoid using a form. 
People often use link_to with image_tag for image links, and since both 
HTML anchors and imgs can't be disabled, I thought of using that. Note 
that I'm a starter too, and if this is not the better approach please 
let me know.
-- 
Posted via http://www.ruby-forum.com/.

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

Reply via email to