=provide(:title,'Edit Role')
-content_for :content do
.row
%div{class: 'col-md-4 col-md-offset-4'}
-bs_panel(yield :title) do
%table{class: 'table table-striped'}
%thead
%tr
%th Name
%th
%th
%th
%tbody
- @roles.each do |role|
%tr
%td= role.name
%td= link_to 'Show', role,class: 'btn-sm btn-primary'
%td= link_to 'Edit', edit_role_path(role),class: 'btn-sm btn-success'
%td= link_to 'Destroy', role, :method => :delete, :data => { :confirm => 'Are you sure?' },class: 'btn-sm btn-danger'
= link_to 'New Role', new_role_path,class: 'btn-sm btn-primary'