Sha256: ee8e931232bbaff67c7df3fcccd80f418c38b943d815fd9c4d5218a91d197800

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

<%= render(Yattho::Beta::BorderBox.new) do |component| %>
  <% component.with_header do |h| %>
    <% h.title(tag: :h2) do %>
      Header
    <% end %>
  <% end %>
  <% component.with_body do %>
    Body
  <% end %>
  <% component.with_row do %>
    <% if true %>
      Row one
    <% end %>
  <% end %>
  <% component.with_row do %>
    Row two
  <% end %>
  <% component.with_footer do %>
    Footer
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yattho_view_components-0.0.1 previews/docs/beta_border_box_preview/header_with_title_body_rows_and_footer.html.erb