Sha256: 2d4af485b7df4b4d825102f994f593983a97f2c04ce804f849854f05678ab10b

Contents?: true

Size: 489 Bytes

Versions: 4

Compression:

Stored size: 489 Bytes

Contents

.block#block-tables
  .content
    %h2.title Search Results
    .inner
      - @results.each do |result|
        %table.table.search{:width => '400px'}
          %tr
            %th.first Attribute
            %th.last Value
          - @results.each do |result|
            - result.sort { |a,b| a[0].to_s <=> b[0].to_s}.each_with_index do |h,index|
              %tr{:class => "#{index % 2 == 1 ? 'odd' : 'even'}"}
                %td= "#{h[0]} (#{h[1].class})"
                %td= h[1]

Version data entries

4 entries across 4 versions & 1 rubygems

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