Commit 304b4dc37d35cae49e0fed5f23d801d910acf921
Committed by
Diego Camarinha
1 parent
6854c1e9
Exists in
colab
and in
4 other branches
Removed code field from view.
Showing
1 changed file
with
2 additions
and
18 deletions
Show diff stats
app/views/metric_configurations/_form.html.erb
| @@ -5,28 +5,12 @@ | @@ -5,28 +5,12 @@ | ||
| 5 | 5 | ||
| 6 | <div class="form-row"> | 6 | <div class="form-row"> |
| 7 | <div class="field-container"> | 7 | <div class="field-container"> |
| 8 | - <%= f.label :code, class: 'control-label' %> | ||
| 9 | - <%= f.text_field :code, class: 'text-field' %> | ||
| 10 | - </div> | ||
| 11 | - <div class="help-container"> | ||
| 12 | - <p> | ||
| 13 | - Code it is a variable that holds the value of a metric analysis. It's used inside a compound metric | ||
| 14 | - </p> | ||
| 15 | - <p> | ||
| 16 | - Example : | ||
| 17 | - Code foo := 10 | ||
| 18 | - </p> | ||
| 19 | - </div> | ||
| 20 | - </div> | ||
| 21 | - | ||
| 22 | - <div class="form-row"> | ||
| 23 | - <div class="field-container"> | ||
| 24 | <%= f.label :weight, class: 'control-label' %> | 8 | <%= f.label :weight, class: 'control-label' %> |
| 25 | <%= f.text_field :weight, class: 'text-field' %> | 9 | <%= f.text_field :weight, class: 'text-field' %> |
| 26 | </div> | 10 | </div> |
| 27 | <div class="help-container"> | 11 | <div class="help-container"> |
| 28 | <p> | 12 | <p> |
| 29 | - It's the weight of the metric | 13 | + It is the weight of the metric |
| 30 | </p> | 14 | </p> |
| 31 | </div> | 15 | </div> |
| 32 | </div> | 16 | </div> |
| @@ -38,7 +22,7 @@ | @@ -38,7 +22,7 @@ | ||
| 38 | </div> | 22 | </div> |
| 39 | <div class="help-container"> | 23 | <div class="help-container"> |
| 40 | <p> | 24 | <p> |
| 41 | - It's the aggregation form of the metric | 25 | + It is the aggregation form of the metric |
| 42 | </p> | 26 | </p> |
| 43 | </div> | 27 | </div> |
| 44 | </div> | 28 | </div> |