.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 'Novo', url: new_admin_associate_path, 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 ID %th Nome do Usuario %th %th %th %tbody - @associates.each do |associate| %tr %td= associate.id %td= associate.user.name %td %td %td = link_to 'Mostrar', [:admin, associate] do %i.fa.fa-info-circle.fa-fw.fa-inverse = link_to 'Editar', [:edit, :admin, associate] do %i.fa.fa-pencil.fa-fw.fa-inverse = link_to 'Deletar', [:admin, associate], method: :delete, data:{confirm: "Deseja mesmo excluir"} do %i.fa.fa-times.fa-fw.fa-inverse