.container-fluid.bg_light .row .col-md-12 .page_header %h1 #{t('admin.actions.index.title', model_label_plural: 'Administradores')} .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 .row .col-md-6.text-right = link_to t('admin.misc.add_new'), new_admin_path, class: 'btn btn-default submit_buttons' %table.table.table-condensed.table-striped %thead %tr %th #{t('activerecord.attributes.section.name').titleize} %th #{t('simple_form.labels.defaults.username').titleize} %th Email %th #{t('simple_form.labels.defaults.actions').titleize} %tbody - @admins.each do |admin| %tr %td= admin.name %td= admin.username %td= admin.email %td = link_to admin_path(admin) do %i.fa.fa-info-circle.fa-fw.fa-inverse = link_to edit_admin_path(admin) do %i.fa.fa-pencil.fa-fw.fa-inverse = link_to admin_path(admin), method: :delete, data:{confirm: "Deseja mesmo excluir"} do %i.fa.fa-times.fa-fw.fa-inverse