Hi,

  I wrote the folling code segment it's display the labels.
  <% for emptypes in @emptypes %>
  <%= check_box("types", emptypes.id, (@emptypes.include?(emptypes) ?
{:checked => false} : {:checked => false} )) %> <%= emptypes.types %>
<% end %>

Thank You for all to given suggestion.

Regards
devirv

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