Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails content_tag nested

content_tag :tr do
  content_tag :th, @user.name
  content_tag :td, @user.gender
  content_tag :td, @user.country
end
Source by makicamel.hatenablog.com #
 
PREVIOUS NEXT
Tagged: #rails #nested
ADD COMMENT
Topic
Name
5+8 =