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

14 lines
280 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" %>
<% content_tag(:p, :class => 'test', :id => 'test3') do %>
<span>Test 3</span>
<% end %>
<% content_tag(:p) do %>
<span>Test 4</span>
<% end %>
2014-02-19 03:30:29 +01:00
<%= content_tag_with_block %>