rodzic
commit
bcd4fb85b0

+ 4
- 1
app/views/local/managers/admins/criteria.blade.php Wyświetl plik

@@ -92,7 +92,7 @@
92 92
                     </div>
93 93
                     <div class="form-group form_validation maximum_form ">
94 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 96
                     </div>
97 97
                     <div class="form-group form_validation number_of_scales">
98 98
                         {{ Form::label('scales', 'Number of Scales') }}
@@ -296,7 +296,10 @@
296 296
 
297 297
         $(document).ready(function() {
298 298
             addOptions('Num_scale', 'maximum_score', 'Scales');
299
+            $('#Num_scale').val('4');
299 300
             numberOfScales('Num_scale', 'Scales');
301
+            
302
+            $('.selectpicker').selectpicker('refresh');
300 303
         });
301 304
 
302 305
         //Input Validation function to client side

+ 4
- 1
app/views/local/managers/pCoords/criteria.blade.php Wyświetl plik

@@ -86,7 +86,7 @@
86 86
                     </div>
87 87
                     <div class="form-group form_validation maximum_form">
88 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 90
                     </div>
91 91
                     <div class="form-group form_validation number_of_scales">
92 92
                         {{ Form::label('scales', 'Number of Scales') }}
@@ -299,7 +299,10 @@
299 299
 
300 300
         $(document).ready(function() {
301 301
             addOptions('Num_scale', 'maximum_score', 'Scales');
302
+            $('#Num_scale').val('4');
302 303
             numberOfScales('Num_scale', 'Scales');
304
+            
305
+            $('.selectpicker').selectpicker('refresh');
303 306
         });
304 307
 
305 308
         //Input Validation function to client side

+ 5
- 1
app/views/local/managers/sCoords/criteria.blade.php Wyświetl plik

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