Browse Source

default a 4

parent
commit
bcd4fb85b0

+ 4
- 1
app/views/local/managers/admins/criteria.blade.php View File

92
                     </div>
92
                     </div>
93
                     <div class="form-group form_validation maximum_form ">
93
                     <div class="form-group form_validation maximum_form ">
94
                         {{ Form::label('maximum_score', 'Maximum Score') }}
94
                         {{ Form::label('maximum_score', 'Maximum Score') }}
95
-                        {{ Form::text('maximum_score', '1', ['class' => 'form-control', 'id' => 'maximum_score', 'oninput' => 'addOptions("Num_scale", "maximum_score", "Scales")']) }}
95
+                        {{ Form::text('maximum_score', '8', ['class' => 'form-control', 'id' => 'maximum_score', 'oninput' => 'addOptions("Num_scale", "maximum_score", "Scales")']) }}
96
                     </div>
96
                     </div>
97
                     <div class="form-group form_validation number_of_scales">
97
                     <div class="form-group form_validation number_of_scales">
98
                         {{ Form::label('scales', 'Number of Scales') }}
98
                         {{ Form::label('scales', 'Number of Scales') }}
296
 
296
 
297
         $(document).ready(function() {
297
         $(document).ready(function() {
298
             addOptions('Num_scale', 'maximum_score', 'Scales');
298
             addOptions('Num_scale', 'maximum_score', 'Scales');
299
+            $('#Num_scale').val('4');
299
             numberOfScales('Num_scale', 'Scales');
300
             numberOfScales('Num_scale', 'Scales');
301
+            
302
+            $('.selectpicker').selectpicker('refresh');
300
         });
303
         });
301
 
304
 
302
         //Input Validation function to client side
305
         //Input Validation function to client side

+ 4
- 1
app/views/local/managers/pCoords/criteria.blade.php View File

86
                     </div>
86
                     </div>
87
                     <div class="form-group form_validation maximum_form">
87
                     <div class="form-group form_validation maximum_form">
88
                         {{ Form::label('maximum_score', 'Maximum Score') }}
88
                         {{ Form::label('maximum_score', 'Maximum Score') }}
89
-                        {{ Form::text('maximum_score', '1', ['class' => 'form-control', 'id' => 'maximum_score', 'oninput' => 'addOptions("Num_scale", "maximum_score", "Scales")']) }}
89
+                        {{ Form::text('maximum_score', '8', ['class' => 'form-control', 'id' => 'maximum_score', 'oninput' => 'addOptions("Num_scale", "maximum_score", "Scales")']) }}
90
                     </div>
90
                     </div>
91
                     <div class="form-group form_validation number_of_scales">
91
                     <div class="form-group form_validation number_of_scales">
92
                         {{ Form::label('scales', 'Number of Scales') }}
92
                         {{ Form::label('scales', 'Number of Scales') }}
299
 
299
 
300
         $(document).ready(function() {
300
         $(document).ready(function() {
301
             addOptions('Num_scale', 'maximum_score', 'Scales');
301
             addOptions('Num_scale', 'maximum_score', 'Scales');
302
+            $('#Num_scale').val('4');
302
             numberOfScales('Num_scale', 'Scales');
303
             numberOfScales('Num_scale', 'Scales');
304
+            
305
+            $('.selectpicker').selectpicker('refresh');
303
         });
306
         });
304
 
307
 
305
         //Input Validation function to client side
308
         //Input Validation function to client side

+ 5
- 1
app/views/local/managers/sCoords/criteria.blade.php View File

87
                     </div>
87
                     </div>
88
                     <div class="form-group form_validation maximum_form ">
88
                     <div class="form-group form_validation maximum_form ">
89
                         {{ Form::label('maximum_score', 'Maximum Score') }}
89
                         {{ Form::label('maximum_score', 'Maximum Score') }}
90
-                        {{ Form::text('maximum_score', '1', ['class' => 'form-control', 'id' => 'maximum_score', 'oninput' => 'addOptions("Num_scale", "maximum_score", "Scales")']) }}
90
+                        {{ Form::text('maximum_score', '8', ['class' => 'form-control', 'id' => 'maximum_score', 'oninput' => 'addOptions("Num_scale", "maximum_score", "Scales")']) }}
91
                     </div>
91
                     </div>
92
                     <div class="form-group form_validation number_of_scales">
92
                     <div class="form-group form_validation number_of_scales">
93
                         {{ Form::label('scales', 'Number of Scales') }}
93
                         {{ Form::label('scales', 'Number of Scales') }}
292
         var outcomeString = 'OutcomeGroup_';
292
         var outcomeString = 'OutcomeGroup_';
293
 
293
 
294
         $(document).ready(function() {
294
         $(document).ready(function() {
295
+            
295
             addOptions('Num_scale', 'maximum_score', 'Scales');
296
             addOptions('Num_scale', 'maximum_score', 'Scales');
297
+            $('#Num_scale').val('4');
296
             numberOfScales('Num_scale', 'Scales');
298
             numberOfScales('Num_scale', 'Scales');
299
+            
300
+            $('.selectpicker').selectpicker('refresh');
297
         });
301
         });
298
 
302
 
299
         //Input Validation function to client side
303
         //Input Validation function to client side