Commit 8e6d28241e1055605add01e272401788c502e864
Committed by
fllsouto
1 parent
1800ca38
Exists in
colab
and in
4 other branches
Fixed compound metric new problem
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/compound_metric_configurations/_form.html.erb
... | ... | @@ -46,7 +46,7 @@ |
46 | 46 | </div> |
47 | 47 | </div> |
48 | 48 | |
49 | - <% if @metric_configuration.persisted? %> | |
49 | + <% if @compound_metric_configuration.persisted? %> | |
50 | 50 | <%= hidden_field_tag(:reading_group_id, @metric_configuration.reading_group_id) %> |
51 | 51 | <% else %> |
52 | 52 | <div class="form-row"> | ... | ... |