disabling a check_box_tag

Anyone know how to accomplish this? Can't seem to get it to work.

Thanks,

Scott

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