Sha256: 42b5b5b18fa3eb91bec612de6b719837a7993e9d227f2ae171e5d46730e119dd
Contents?: true
Size: 1.84 KB
Versions: 5
Compression:
Stored size: 1.84 KB
Contents
<%= content_tag :div, data: data_attributes, class: classes do %> <% if render_header? %> <div class="flex-1 flex flex-col xl:flex-row justify-between mb-4"> <div class="overflow-hidden flex flex-col"> <% if display_breadcrumbs? %> <div class="breadcrumbs truncate mb-2"> <%= helpers.render_breadcrumbs(separator: helpers.svg('chevron-right', class: 'inline-block h-3 stroke-current relative top-[-1px] ml-1' )) if Avo.configuration.display_breadcrumbs %> </div> <% end %> <div class="text-2xl tracking-normal font-semibold text-gray-800 truncate items-center flex flex-1" data-target="title"> <span><%= @name %></span> </div> <% if description.present? %> <div class="text-sm tracking-normal font-medium text-gray-600" data-target="description"> <%== description %> </div> <% end %> </div> <% if tools.present? %> <div class="flex-1 w-full flex flex-col sm:flex-row xl:justify-end sm:items-end space-y-2 sm:space-y-0 sm:space-x-2 mt-4 xl:mt-0"> <%= tools %> </div> <% end %> </div> <% end %> <% if body? %> <div class="relative <%= white_panel_classes %> <%= @body_classes %>"> <%= body %> </div> <% end %> <% if bare_content? %> <div class="relative"> <%= bare_content %> </div> <% end %> <% if footer_tools? %> <div class="<%= white_panel_classes %> p-4 flex-1 flex flex-col xl:flex-row justify-between mt-6"> <div class="flex-1 w-full flex flex-col sm:flex-row xl:justify-end sm:items-end space-y-2 sm:space-y-0 sm:space-x-2 mt-4 xl:mt-0"> <%= footer_tools %> </div> </div> <% end %> <% if footer? %> <div class="flex justify-end w-full"> <div> <%= footer %> </div> </div> <% end %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems