search_form <%= index_helper %>_path¶ ↑
.table-responsive
%table.table.table-striped.table-hover %thead %tr
<% for attribute in attributes -%>
%th= ta(<%= class_name %>, :<%= attribute.name %>)
<% end -%>
%th %tbody - @<%= plural_table_name %>.each do |<%= singular_table_name %>| %tr
<% for attribute in attributes -%>
%td= <%= singular_table_name %>.<%= attribute.name %>
<% end -%>
%td = link_to_show <%= class_name %>, <%= singular_table_name %>_path(<%= singular_table_name %>) = link_to_edit <%= class_name %>, edit_<%= singular_table_name %>_path(<%= singular_table_name %>) = link_to_destroy <%= class_name %>, '#', resource_id: <%= singular_table_name %>.id = render 'shared/modals/delete_confirmation', resource: <%= singular_table_name %>
will_paginate @<%= plural_table_name %>, renderer: BootstrapPagination::Rails¶ ↑
%br