Test Setup Failed
Push — master ( 15dee0...f8bd09 )
by Александр
35:37
created
src/views/admin-component-settings/index.php 1 patch
Braces   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,10 +23,11 @@  discard block
 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 28
         <small><?= \Yii::t('skeeks/cms', 'These settings not yet saved in the database') ?></small>
29 29
     <?php endif;
30
+}
30 31
     ?>
31 32
 </div>
32 33
 
@@ -45,9 +46,12 @@  discard block
 block discarded – undo
45 46
     ]))->render(); ?>
46 47
 <? elseif ($formContent = $component->renderConfigForm($form)) : ?>
47 48
     <?= $formContent; ?>
48
-<? else : ?>
49
+<? else {
50
+    : ?>
49 51
     Нет редактируемых настроек для данного компонента
50
-<? endif; ?>
52
+<? endif;
53
+}
54
+?>
51 55
 
52 56
 <?= $form->buttonsStandart($component); ?>
53 57
 <?= $form->errorSummary(\yii\helpers\ArrayHelper::merge(
Please login to merge, or discard this patch.