Sha256: 06c656d7050887c5fd4f2be7b0c01982a21c76b57021725d4c3be3646da084ab

Contents?: true

Size: 782 Bytes

Versions: 4

Compression:

Stored size: 782 Bytes

Contents

.block#block-tables
  .content
    %h2.title Roles 
    .inner
      = partial('navigation', :active => 'index')
    .content
      .inner
        %table.table
          %tr
            %th.first Name
            %th Description
            %th.last  
          - even = false;
          - @role_list.each do |role|
            %tr{ :class => even ? "even" : "odd" }
              %td= link_to(role.name, slice_url(:role, role.name))
              %td= role.description
              %td
                = link_to('Edit', slice_url(:edit_role, role.name)) 
                |
                = link_to('Delete', slice_url(:role, role.name), :method => "delete", :confirm => "Really delete Role #{role.name}?  there is no undo.")
              - even ? even = false: even = true

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chef-server-slice-0.7.16 app/views/roles/index.html.haml
chef-server-slice-0.7.14 app/views/roles/index.html.haml
chef-server-slice-0.7.12 app/views/roles/index.html.haml
chef-server-slice-0.7.10 app/views/roles/index.html.haml