Sha256: 5385c5e7dfe1b20d7b8d9eab036fddacf311c06feebc6594f39bbb157523136b
Contents?: true
Size: 767 Bytes
Versions: 12
Compression:
Stored size: 767 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 %>", target: '_top', 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
12 entries across 12 versions & 1 rubygems