|
1 | 1 | -if @criterion.errors.any? |
2 | | - .alert.alert-error |
3 | | - a.close data-dismiss="alert" × |
4 | | - | Error. Please check the indicated #{inflectize(@criterion.errors.count, "field")} below. |
| 2 | + .alert.alert-error |
| 3 | + a.close data-dismiss="alert" × |
| 4 | + | Error. Please check the indicated #{inflectize(@criterion.errors.count, "field")} below. |
5 | 5 |
|
6 | 6 | .row-fluid |
7 | | - .span4 |
8 | | - .control-group |
9 | | - = form.label :title, class: "control-label" |
10 | | - .controls |
11 | | - = form.text_field :title, id: 'title' |
12 | | - .span2 |
13 | | - .control-group |
14 | | - = form.label :abbrev, 'Short title', class: "control-label" |
15 | | - .controls |
16 | | - = form.text_field :abbrev |
| 7 | + .span4 |
| 8 | + .control-group |
| 9 | + = form.label :title, class: "control-label" |
| 10 | + .controls |
| 11 | + = form.text_field :title, id: 'title' |
| 12 | + .span2 |
| 13 | + .control-group |
| 14 | + = form.label :abbrev, 'Short title', class: "control-label" |
| 15 | + .controls |
| 16 | + = form.text_field :abbrev |
17 | 17 |
|
18 | 18 | = form.hidden_field :parent_id, value: parent_id |
19 | 19 | = form.hidden_field :article_id, value: @presenter.article.id |
20 | 20 | .control-group |
21 | | - = form.label :description, class: 'control-label' |
22 | | - = form.text_area :description, class: 'input-xxlarge wysihtml5', rows: 10 |
| 21 | + = form.label :description, class: 'control-label' |
| 22 | + = form.text_area :description, class: 'input-xxlarge wysihtml5', rows: 10 |
23 | 23 |
|
24 | 24 | .widget-divider |
25 | 25 | .widget-content-title Comparison method to use for all participants |
26 | 26 | .control-group |
27 | | - = form.label "Comparison method to be used by all participants at this node:", class: 'control-label' |
28 | | - .controls.pop-over |
29 | | - = form.label :appraisal_method_magiqcomparison, class:'radio' |
30 | | - = form.radio_button :appraisal_method, 'MagiqComparison' |
31 | | - span rel='popover' data-content='Assign weights by ranking using Multi-Attribute Global Inference of Quality method' data-original-title='MAGIC Method' |
32 | | - | MAGIQ method |
33 | | - .controls.pop-over |
34 | | - = form.label :appraisal_method_directcomparison, class:'radio' |
35 | | - = form.radio_button :appraisal_method, 'DirectComparison' |
36 | | - span rel='popover' data-content='Directly assign weights to each sub-criteria using Simple Multi-Attribute Rating Technique' data-original-title='SMART method' |
37 | | - | SMART method |
38 | | - .controls.pop-over |
39 | | - = form.label :appraisal_method_pairwisecomparison, class:'radio' |
40 | | - = form.radio_button :appraisal_method, 'PairwiseComparison' |
41 | | - span rel='popover' data-content='Assign weights by making pairwise comparisons using Analytic Hierarchy Process' data-original-title='AHP Pairwise method' |
42 | | - | AHP Pairwise method |
43 | | - .controls.pop-over |
44 | | - = form.label :appraisal_method, class:'radio' |
45 | | - = form.radio_button :appraisal_method, nil |
46 | | - span rel='popover' data-content='Each participant is free to choose any of the above method. Note that combining results of different methods may not give meaningfull answer.' data-original-title="No assigned method" data-html=true |
47 | | - | No assigned method |
| 27 | + = form.label "Comparison method to be used by all participants at this node:", class: 'control-label' |
| 28 | + .controls.pop-over |
| 29 | + = form.label :appraisal_method_magiqcomparison, class:'radio' |
| 30 | + = form.radio_button :appraisal_method, 'MagiqComparison' |
| 31 | + span rel='popover' data-content='Assign weights by ranking using Multi-Attribute Global Inference of Quality method' data-original-title='MAGIC Method' |
| 32 | + | MAGIQ method |
| 33 | + .controls.pop-over |
| 34 | + = form.label :appraisal_method_directcomparison, class:'radio' |
| 35 | + = form.radio_button :appraisal_method, 'DirectComparison' |
| 36 | + span rel='popover' data-content='Directly assign weights to each sub-criteria using Simple Multi-Attribute Rating Technique' data-original-title='SMART method' |
| 37 | + | SMART method |
| 38 | + .controls.pop-over |
| 39 | + = form.label :appraisal_method_pairwisecomparison, class:'radio' |
| 40 | + = form.radio_button :appraisal_method, 'PairwiseComparison' |
| 41 | + span rel='popover' data-content='Assign weights by making pairwise comparisons using Analytic Hierarchy Process' data-original-title='AHP Pairwise method' |
| 42 | + | AHP Pairwise method |
| 43 | + .controls.pop-over |
| 44 | + = form.label :appraisal_method, class:'radio' |
| 45 | + = form.radio_button :appraisal_method, nil |
| 46 | + span rel='popover' data-content='Each participant is free to choose any of the above method. Note that combining results of different methods may not give meaningfull answer.' data-original-title="No assigned method" data-html=true |
| 47 | + | No assigned method |
48 | 48 |
|
49 | 49 | -if cost |
50 | | - = form.hidden_field :cost, value: true |
| 50 | + = form.hidden_field :cost, value: true |
51 | 51 |
|
0 commit comments