14 lines
280 B
Plaintext
14 lines
280 B
Plaintext
<%= 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 %>
|
|
|
|
<%= content_tag_with_block %>
|