Sha256: b146640eb1b02cfa0e4fe6860bb9a6a03d82738d47811331345db777395ef7ea
Contents?: true
Size: 559 Bytes
Versions: 66
Compression:
Stored size: 559 Bytes
Contents
<% yield p = np %> <% url ||= nil %> <% strategy ||= current_attributes_strategy || :none %> <% body = capture do %> <% if url.present? %> <% link_to url do %> <%= p.content_for :body %> <% end %> <% else %> <%= p.content_for :body %> <% end %> <% end %> <% case strategy %> <% when :label %> <div> <label class="block text-2xs font-semibold py-2 dark:text-white"> <%= p.content_for :heading %> </label> <div class="dark:text-gray-400"> <%= body %> </div> </div> <% else %> <%= body %> <% end %>
Version data entries
66 entries across 66 versions & 5 rubygems