Sha256: 6b72c0905800735f4c2829368be8ee43c86e52763fb11094ab855e4aebd1dd78

Contents?: true

Size: 462 Bytes

Versions: 3

Compression:

Stored size: 462 Bytes

Contents

%h2.ui-widget-header Listing roles
.ui-widget-content  
  %table{:class=>'mytable'}
    %tr
      %th Name
      %th Descripcion
  
    - @roles.each do |role| 
      %tr
        %td
          = link_to role.name, role
        %td
          = role.desc
        %td
          = link_to 'Edit', edit_role_path(role)
        %td      
          = link_to 'Destroy', role, :confirm => 'Are you sure?', :method => :delete
  %br
  = link_to 'New role', new_role_path 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
squeezer-0.2.1 app/views/roles/index.html.haml
squeezer-0.2.0 app/views/roles/index.html.haml
squeezer-0.1.11 app/views/roles/index.html.haml