Sha256: 132304f22655dee1ff13208f99ccc882c0dd00ec3d1b85731def20d669f95a8e
Contents?: true
Size: 560 Bytes
Versions: 9
Compression:
Stored size: 560 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-slate-400"> <%= body %> </div> </div> <% else %> <%= body %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems