.container.bg_light .row .col-md-12 .page_header %h1 #{t('admin.action.index.title')} .hr .row .col-md-12 .breadcrumb .row .col-md-12 %ul.nav.nav-tabs %li.nav-item = link_to '', class: 'nav-link active', method: :get do %i.fa.fa-list = t('admin.actions.index.menu').capitalize .row .col-md-12 .tab-content.list .tab-pane.fade.show.active %nav.navbar.navbar-light.bg-light.filter = simple_form_for root_path do |f| = f.input 'text', class: 'form-control mr-sm-2', placeholder: t('admin.misc.filter') = button_tag :submit, class: 'btn btn-outline-success' do %i.fa.fa-refresh = t('admin.misc.refresh') = button_tag :submit, class: 'btn btn-outline-danger' do %i.fa.fa-times %table.table.table-condensed.table-striped %thead %tr %th %th %th %th %th %tbody - @<%= plural_table_name %>.each do |<%= singular_table_name %>| %tr %td %td %td %td %td = link_to 'Mostrar', <%= singular_table_name %> do %i.fa.fa-info-circle.fa-fw.fa-inverse = link_to 'Editar', edit_<%= singular_table_name %>_path do %i.fa.fa-pencil.fa-fw.fa-inverse = link_to 'Deletar', <%= singular_table_name %>, method: :delete, data:{confirm: "Deseja mesmo excluir"} do %i.fa.fa-times.fa-fw.fa-inverse