Commit f9135de44a878385af690e262c1f733aa978aae6
1 parent
3c4e068b
Exists in
colab
and in
4 other branches
Removed aggregation form from compound metric configurations
Signed off by: Renan Fichberg <rfichberg@gmail.com>
Showing
2 changed files
with
0 additions
and
13 deletions
Show diff stats
app/views/compound_metric_configurations/_form.html.erb
@@ -34,18 +34,6 @@ | @@ -34,18 +34,6 @@ | ||
34 | </div> | 34 | </div> |
35 | </div> | 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 | <% if @compound_metric_configuration.persisted? %> | 37 | <% if @compound_metric_configuration.persisted? %> |
50 | <%= hidden_field_tag(:reading_group_id, @metric_configuration.reading_group_id) %> | 38 | <%= hidden_field_tag(:reading_group_id, @metric_configuration.reading_group_id) %> |
51 | <% else %> | 39 | <% else %> |
features/compound_metric_configuration/create.feature
@@ -22,7 +22,6 @@ Feature: Compound Metric Configuration Creation | @@ -22,7 +22,6 @@ Feature: Compound Metric Configuration Creation | ||
22 | And I fill the Script field with "8*8;" | 22 | And I fill the Script field with "8*8;" |
23 | And I fill the Weight field with "8" | 23 | And I fill the Weight field with "8" |
24 | And I set the select field "Scope" as "Class" | 24 | And I set the select field "Scope" as "Class" |
25 | - And I set the select field "Aggregation Form" as "Average" | ||
26 | And I set the select field "Reading Group" as "Scholar" | 25 | And I set the select field "Reading Group" as "Scholar" |
27 | And I press the Save button | 26 | And I press the Save button |
28 | Then I should see "My Compound Metric" | 27 | Then I should see "My Compound Metric" |