Sha256: b8269d88eafd06e7327b52e19331e1704b7c133d2cc8179081c4744b6bfd130c

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

<div class="card">
  <%= partial.yield :image %>
  <div class="card-body">
    <h5 class="card-title"><%= title %></h5>
    <% if partial.content_for? :body %>
      <p class="card-text">
        <%= partial.content_for :body, tag.with_options(class: "text-bold") %>
      </p>
    <% end %>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nice_partials-0.1.9 test/fixtures/_card.html.erb