Sha256: 02e395328b3ceb61084e186a529a05f3b9156c304d0837d310176ed0e95547b1
Contents?: true
Size: 754 Bytes
Versions: 28
Compression:
Stored size: 754 Bytes
Contents
<%%= render(IndexComponent.new) do |index| %> <!-- Header --> <%%= index.with_header( title: I18n.t('bo.<%= class_name.underscore %>.others').capitalize, subtitle: I18n.t('bo.<%= class_name.underscore %>.subtitle').capitalize, ) do |header| %> <%%= header.with_add_button(path: <%="new_#{options[:namespace]}_#{class_name.underscore}_path" %>) %> <%% end %> <!-- Search Bar --> <%%= render('search_bar') %> <!-- Table --> <%%= turbo_frame_tag "<%= class_name.underscore.pluralize %>", class: "shadow overflow-hidden rounded border-b border-gray-200" do %> <%%= render('table') %> <div class="py-2"> <%%== render partial: 'shared/pagination', locals: { pagy: @pagy } %> </div> <%% end %> <%% end %>
Version data entries
28 entries across 28 versions & 1 rubygems