Commit f9135de44a878385af690e262c1f733aa978aae6

Authored by Rafael Manzo
1 parent 3c4e068b

Removed aggregation form from compound metric configurations

Signed off by: Renan Fichberg <rfichberg@gmail.com>
app/views/compound_metric_configurations/_form.html.erb
... ... @@ -34,18 +34,6 @@
34 34 </div>
35 35 </div>
36 36  
37   - <div class="form-row">
38   - <div class="field-container">
39   - <%= f.label :aggregation_form, 'Aggregation Form', class: 'control-label' %>
40   - <%= f.select( :aggregation_form, aggregation_options, {class: 'form-control'} ) %>
41   - </div>
42   - <div class="help-container">
43   - <p>
44   - It's the aggregation form of the metric
45   - </p>
46   - </div>
47   - </div>
48   -
49 37 <% if @compound_metric_configuration.persisted? %>
50 38 <%= hidden_field_tag(:reading_group_id, @metric_configuration.reading_group_id) %>
51 39 <% else %>
... ...
features/compound_metric_configuration/create.feature
... ... @@ -22,7 +22,6 @@ Feature: Compound Metric Configuration Creation
22 22 And I fill the Script field with "8*8;"
23 23 And I fill the Weight field with "8"
24 24 And I set the select field "Scope" as "Class"
25   - And I set the select field "Aggregation Form" as "Average"
26 25 And I set the select field "Reading Group" as "Scholar"
27 26 And I press the Save button
28 27 Then I should see "My Compound Metric"
... ...