Sha256: 559bb21084bebc4bd101f6bc305465d1b4d552e0f6883d5806a0aa8e97272cf4

Contents?: true

Size: 442 Bytes

Versions: 9

Compression:

Stored size: 442 Bytes

Contents

%a{:name => "current_weights"}
%h2 Current Experiment Weights
- @weights.group_by(&:group_name).each do |group_name, group|
  .group
    %fieldset
      %legend= group_name
      = image_tag current_weights(group_name, group)
      .toggle_table (table)
      %table
        %tr
          %th Alternative
          %th Weight
        - group.each do |row|
          %tr
            %td.name= row.alternative
            %td.weight= row.weight

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
conductor-0.9.4 app/views/conductor/dashboard/_current_weights.html.haml
conductor-0.9.3 app/views/conductor/dashboard/_current_weights.html.haml
conductor-0.8.3 lib/conductor/rails/views/dashboard/_current_weights.html.haml
conductor-0.8.1 lib/conductor/views/dashboard/_current_weights.html.haml
conductor-0.7.2 lib/conductor/views/dashboard/_current_weights.html.haml
conductor-0.7.1 lib/conductor/views/dashboard/_current_weights.html.haml
conductor-0.7.0 lib/conductor/views/dashboard/_current_weights.html.haml
conductor-0.6.5 lib/conductor/views/dashboard/_current_weights.html.haml
conductor-0.6.4 lib/conductor/views/dashboard/_current_weights.html.haml