Sha256: 0f9baa8cab13791b78b79702c72e1a8db78a1c666882d7f3a51b4f6585d674bc

Contents?: true

Size: 390 Bytes

Versions: 12

Compression:

Stored size: 390 Bytes

Contents

%h2 Listing roles

%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

12 entries across 8 versions & 1 rubygems

Version Path
squeezer-0.2.1 lib/generators/squeezer/templates/app/views/roles/index.html.haml
squeezer-0.2.0 lib/generators/squeezer/templates/app/views/roles/index.html.haml
squeezer-0.1.11 lib/generators/squeezer/templates/app/views/roles/index.html.haml
squeezer-0.1.7 lib/generators/squeezer/templates/app/views/roles/index.html.haml
squeezer-0.1.7 app/views/roles/index.html.haml
squeezer-0.1.6 app/views/roles/index.html.haml
squeezer-0.1.6 lib/generators/squeezer/templates/app/views/roles/index.html.haml
squeezer-0.1.5 app/views/roles/index.html.haml
squeezer-0.1.5 lib/generators/squeezer/templates/app/views/roles/index.html.haml
squeezer-0.1.4 lib/generators/squeezer/templates/app/views/roles/index.html.haml
squeezer-0.1.4 app/views/roles/index.html.haml
squeezer-0.1.3 lib/app/views/roles/index.html.haml