Sha256: cb2a62a67d5fcf2dacb572e31e5586406aae3949a23c71aaccf1acc4a03df33d
Contents?: true
Size: 875 Bytes
Versions: 14
Compression:
Stored size: 875 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" %>) %> <%%= header.with_export_button(path: <%= "export_csv_#{options[:namespace]}_#{class_name.pluralize.underscore}_path(format: :csv, params: {q: params.permit!['q']})"%>)%> <%% end %> <!-- Search Bar --> <%%= render('search_bar') %> <!-- Table --> <%%= turbo_frame_tag "<%= class_name.underscore.pluralize %>", target: '_top' do %> <%%= render('table') %> <div class="py-2"> <%%== render partial: 'shared/pagination', locals: { pagy: @pagy } %> </div> <%% end %> <%% end %>
Version data entries
14 entries across 14 versions & 1 rubygems