Пример #1
0
                        <?php 
echo $form->field($model, 'rememberMe')->checkbox(['value' => true]);
?>

                        <?php 
echo Html::submitButton(Yii::t('yee/auth', 'Login'), ['class' => 'btn btn-lg btn-primary btn-block']);
?>

                        <div class="row registration-block">
                            <div class="col-sm-<?php 
echo $col12;
?>
">
                                <?php 
echo AuthChoice::widget(['baseAuthUrl' => ['/auth/default/oauth', 'language' => false], 'popupMode' => false]);
?>
                            </div>
                        </div>

                        <div class="row registration-block">
                            <div class="col-sm-<?php 
echo $col6;
?>
">
                                <?php 
echo Html::a(Yii::t('yee/auth', "Registration"), ['default/signup']);
?>
                            </div>
                            <div class="col-sm-<?php 
echo $col6;
Пример #2
0
                <div>
                    <div class="label label-primary space-down"
                         title="<?php 
echo Yii::t('yee/auth', 'Click to connect with service');
?>
" data-toggle="tooltip"
                         data-placement="right">
                        <?php 
echo Yii::t('yee/auth', 'Non Authorized Services');
?>
:
                    </div>

                    <?php 
echo AuthChoice::widget(['baseAuthUrl' => ['/auth/default/oauth', 'language' => false], 'displayClients' => AuthChoice::DISPLAY_NON_AUTHORIZED, 'popupMode' => false, 'shortView' => true]);
?>
                </div>
            </div>

        </div>

        <?php 
$form = ActiveForm::begin(['id' => 'user', 'validateOnBlur' => false]);
?>

        <div class="col-md-<?php 
echo $col9;
?>
">