Passed
Push — master ( 6e8733...92ba63 )
by Sarah
04:36 queued 02:07
created
views/user/auth/login_modal.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,11 +35,17 @@
 block discarded – undo
35 35
 
36 36
                     <?php if (AuthChoice::hasClients()): ?>
37 37
                         <?= AuthChoice::widget([]) ?>
38
-                    <?php else: ?>
38
+                    <?php else {
39
+    : ?>
39 40
                         <?php if ($canRegister) : ?>
40
-                            <p><?= Yii::t('UserModule.views_auth_login', "If you're already a member, please login with your username/email and password."); ?></p>
41
-                        <?php else: ?>
42
-                            <p><?= Yii::t('UserModule.views_auth_login', "Please login with your username/email and password."); ?></p>
41
+                            <p><?= Yii::t('UserModule.views_auth_login', "If you're already a member, please login with your username/email and password.");
42
+}
43
+?></p>
44
+                        <?php else {
45
+    : ?>
46
+                            <p><?= Yii::t('UserModule.views_auth_login', "Please login with your username/email and password.");
47
+}
48
+?></p>
43 49
                         <?php endif; ?>                    <?php endif; ?>
44 50
 
45 51
                     <?php $form = ActiveForm::begin(['enableClientValidation' => false]); ?>
Please login to merge, or discard this patch.