@@ -35,11 +35,17 @@ |
||
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]); ?> |