Sha256: 0927261d9a8ec13df96f8ac5f65b920c9694c1b72d08851756ba08d408da4a6d

Contents?: true

Size: 761 Bytes

Versions: 7

Compression:

Stored size: 761 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chef-server-webui-0.8.16 app/views/roles/index.html.haml
chef-server-webui-0.8.14 app/views/roles/index.html.haml
chef-server-webui-0.8.10 app/views/roles/index.html.haml
chef-server-webui-0.8.8 app/views/roles/index.html.haml
chef-server-webui-0.8.6 app/views/roles/index.html.haml
chef-server-webui-0.8.4 app/views/roles/index.html.haml
chef-server-webui-0.8.2 app/views/roles/index.html.haml