middleman/middleman-core/lib/vendored-middleman-deps/padrino-helpers-0.12.0/test/fixtures/markup_app/views/content_tag.haml

12 lines
223 B
Plaintext
Raw Normal View History

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