Completed
Branch master (bf31fb)
by Александр
77:38 queued 37:39
created
src/views/admin-cms-content-property-enum/_form.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,8 @@  discard block
 block discarded – undo
10 10
 
11 11
 <?php if ($form_id = \Yii::$app->request->get('property_id')) : ?>
12 12
     <?= $form->field($model, 'property_id')->hiddenInput(['value' => $form_id])->label(false); ?>
13
-<?php else: ?>
13
+<?php else {
14
+    : ?>
14 15
     <?= $form->field($model, 'property_id')->widget(
15 16
         \skeeks\widget\chosen\Chosen::className(), [
16 17
         'items' => \yii\helpers\ArrayHelper::map(
@@ -19,6 +20,7 @@  discard block
 block discarded – undo
19 20
             "name"
20 21
         ),
21 22
     ]);
23
+}
22 24
     ?>
23 25
 <?php endif; ?>
24 26
 
Please login to merge, or discard this patch.
src/views/admin-component-settings/user.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,12 @@
 block discarded – undo
23 23
         </button>
24 24
         <small><?= \Yii::t('skeeks/cms',
25 25
                 'The settings for this component are stored in the database. This option will erase them from the database, but the component, restore the default values. As they have in the code the developer.') ?></small>
26
-    <?php else: ?>
26
+    <?php else {
27
+    : ?>
27 28
         <small><?= \Yii::t('skeeks/cms', 'These settings not yet saved in the database') ?></small>
28
-    <?php endif; ?>
29
+    <?php endif;
30
+}
31
+?>
29 32
 </div>
30 33
 
31 34
 <?php $form = \skeeks\cms\modules\admin\widgets\form\ActiveFormUseTab::begin(); ?>
Please login to merge, or discard this patch.
src/views/admin-user-phone/_form.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,8 @@  discard block
 block discarded – undo
11 11
 
12 12
 <?php if (\Yii::$app->request->get('user_id')) : ?>
13 13
     <?= $form->field($model, 'user_id')->hiddenInput(['value' => \Yii::$app->request->get('user_id')])->label(false) ?>
14
-<?php else: ?>
14
+<?php else {
15
+    : ?>
15 16
     <?= $form->fieldSelect($model, 'user_id', \yii\helpers\ArrayHelper::map(
16 17
         \skeeks\cms\models\User::find()->active()->all(),
17 18
         'id',
@@ -19,7 +20,9 @@  discard block
 block discarded – undo
19 20
     ), [
20 21
         'allowDeselect' => true
21 22
     ]) ?>
22
-<?php endif; ?>
23
+<?php endif;
24
+}
25
+?>
23 26
 
24 27
 
25 28
 <?= $form->fieldRadioListBoolean($model, 'approved'); ?>
Please login to merge, or discard this patch.