summaryrefslogtreecommitdiff
path: root/chef-server-webui/app/views/roles/show.html.haml
blob: 4e3b8e22b017c9e4b2755785a66bdc532c513186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.block#block-tables
  .content
    %h2.title= "Role #{h @role.name}"
    .inner
      = partial("navigation", :active => "show")
      .content
        .inner
          .left
            %h3 Description
            = @role.description

          .left 
            %h3 Recipes
            %table#recipes.table
              %tr
                %th.first Position
                %th.last Name
              - @role.recipes.each_index do |i|
                %tr
                  %td.position= i
                  %td= @role.recipes[i]
          .left 
            %h3 Default Attributes
            = build_tree('defattrs', @role.default_attributes)

          .left 
            %h3 Override Attributes
            = build_tree('overattrs', @role.override_attributes)