in the list of checkbox attributes.... disabled=''true''
or with a rails helper:
<%=check_box_tag :name, :value, selected, {:disabled => !enabled}%>
-Michael
http://javathehutt.blogspot.com
On Mar 17, 2007, at 10:01 AM, Scott wrote:
>
> Anyone know how to accomplish this? Can''t seem to get it to work.
>
> Thanks,
>
> Scott
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---