Frederick Cheung wrote:

>> I would like to display a boolean value in my #index view as a  
>> checkbox that is checked when true and blank when not true.  Is  
>> there some markup that can do this?  Is it "legal" to embed an  
>> <input type="checkbox"> tag outside the context of a form?  Even if  
>> it's "legal", is it considered bad practice?
>>
> w3c validator doesn't seem to mind.

Under what DOCTYPEs?

(BTW I am building a webpage for a new project - non Rails - with generated 
source. The very first time I ran it thru http://validator.w3.org/ , it passed 
without even a warning. Beat that, Rails!!)

-- 
   Phlip


--~--~---------~--~----~------------~-------~--~----~
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