2013-11-22 17:47:07 +01:00
|
|
|
= content_tag :p, "Test 1", :class => 'test', :id => "test1"
|
|
|
|
|
|
|
|
= content_tag :p, "Test 2"
|
|
|
|
|
2014-02-19 03:30:29 +01:00
|
|
|
= content_tag(:p, :class => 'test', :id => 'test3') do
|
2013-11-22 17:47:07 +01:00
|
|
|
%span Test 3
|
|
|
|
|
2014-02-19 03:30:29 +01:00
|
|
|
= content_tag(:p) do
|
2013-11-22 17:47:07 +01:00
|
|
|
%span Test 4
|
2014-02-19 03:30:29 +01:00
|
|
|
|
|
|
|
= content_tag_with_block
|