Sha256: bb55504e957f144941146177cb7d020d05df19b562de2f88d8cd1f0bd645acd0

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

<% yield p = np %>

<div class="card">
  <%= p.yield :image %>
  <div class="card-body">
    <h5 class="card-title"><%= title %></h5>
    <% if p.content_for? :body %>
      <p class="card-text">
        <%= p.content_for :body %>
      </p>
    <% end %>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nice_partials-0.1.6 test/fixtures/_card.html.erb
nice_partials-0.1.5 test/fixtures/_card.html.erb