Commit 36f34b8827a1ed9cc57edacf75ad5cd9931f925e
1 parent
45cde2f5
Exists in
colab
and in
4 other branches
Fixed identation for metric_options
Showing
1 changed file
with
12 additions
and
12 deletions
Show diff stats
app/views/compound_metric_configurations/_metric_options.html.erb
1 | 1 | <div class="form-row"> |
2 | 2 | <div class="field-container"> |
3 | - <%= f.label :name, class: 'control-label' %> | |
4 | - <%= f.text_field :name, class: 'text-field', value: (metric.name unless metric.nil?) %> | |
3 | + <%= f.label :name, class: 'control-label' %> | |
4 | + <%= f.text_field :name, class: 'text-field', value: (metric.name unless metric.nil?) %> | |
5 | 5 | </div> |
6 | 6 | <div class="help-container"> |
7 | 7 | <p> |
8 | - A custom name for your compound metric. | |
8 | + A custom name for your compound metric. | |
9 | 9 | </p> |
10 | 10 | </div> |
11 | 11 | </div> |
12 | 12 | |
13 | 13 | <div class="form-row"> |
14 | 14 | <div class="field-container"> |
15 | - <%= f.label :description, class: 'control-label' %> | |
16 | - <%= f.text_field :description, class: 'text-field', value: (metric.description unless metric.nil?) %> | |
15 | + <%= f.label :description, class: 'control-label' %> | |
16 | + <%= f.text_field :description, class: 'text-field', value: (metric.description unless metric.nil?) %> | |
17 | 17 | </div> |
18 | 18 | <div class="help-container"> |
19 | 19 | <p> |
20 | - A short description about your compound metric. | |
20 | + A short description about your compound metric. | |
21 | 21 | </p> |
22 | 22 | </div> |
23 | 23 | </div> |
24 | 24 | |
25 | 25 | <div class="form-row"> |
26 | 26 | <div class="field-container"> |
27 | - <%= f.label :script, class: 'control-label' %> | |
28 | - <%= f.text_area :script, class: 'text-area', value: (metric.script unless metric.nil?) %> | |
27 | + <%= f.label :script, class: 'control-label' %> | |
28 | + <%= f.text_area :script, class: 'text-area', value: (metric.script unless metric.nil?) %> | |
29 | 29 | </div> |
30 | 30 | <div class="help-container"> |
31 | 31 | <p> |
32 | - A mathematic expression to calculate your compound metric. | |
32 | + A mathematic expression to calculate your compound metric. | |
33 | 33 | </p> |
34 | 34 | </div> |
35 | 35 | </div> |
36 | 36 | |
37 | 37 | <div class="form-row"> |
38 | 38 | <div class="field-container"> |
39 | - <%= f.label :scope, 'Scope', class: 'control-label' %> | |
40 | - <%= f.select( :scope, scope_options, {class: 'form-control', selected: (metric.scope unless metric.nil?)} ) %> | |
39 | + <%= f.label :scope, 'Scope', class: 'control-label' %> | |
40 | + <%= f.select( :scope, scope_options, {class: 'form-control', selected: (metric.scope unless metric.nil?)} ) %> | |
41 | 41 | </div> |
42 | 42 | <div class="help-container"> |
43 | 43 | <p> |
44 | - With which code type your metric is designed to work? | |
44 | + With which code type your metric is designed to work? | |
45 | 45 | </p> |
46 | 46 | </div> |
47 | 47 | </div> | ... | ... |