<?php echo $this->render('/_alert', ['module' => Yii::$app->getModule('user')]); ?> <div class="row"> <div class="col-md-4 col-md-offset-4"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><?php echo Html::encode($this->title); ?> </h3> </div> <div class="panel-body"> <?php $form = ActiveForm::begin(['id' => 'login-form', 'enableAjaxValidation' => true, 'enableClientValidation' => false, 'validateOnBlur' => false, 'validateOnType' => false, 'validateOnChange' => false]); ?> <?php echo $form->field($model, 'login', ['inputOptions' => ['autofocus' => 'autofocus', 'class' => 'form-control', 'tabindex' => '1']]); ?> <?php echo $form->field($model, 'password', ['inputOptions' => ['class' => 'form-control', 'tabindex' => '2']])->passwordInput()->label(Yii::t('user', 'Password') . ($module->enablePasswordRecovery ? ' (' . Html::a(Yii::t('user', 'Forgot password?'), ['/user/recovery/request'], ['tabindex' => '5']) . ')' : '')); ?> <?php echo $form->field($model, 'rememberMe')->checkbox(['tabindex' => '4']); ?> <?php
*/ $this->title = Yii::t('user', 'Sign up'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="row"> <div class="col-md-4 col-md-offset-4"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><?php echo Html::encode($this->title); ?> </h3> </div> <div class="panel-body"> <?php $form = ActiveForm::begin(['id' => 'registration-form', 'enableAjaxValidation' => true, 'enableClientValidation' => false]); ?> <?php echo $form->field($model, 'username'); ?> <?php echo $form->field($model, 'email'); ?> <?php if ($module->enableGeneratingPassword == false) { ?> <?php echo $form->field($model, 'password')->passwordInput();
* (c) mata project <http://github.com/mata> * * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ /** * @var $this yii\web\View * @var $model matacms\rbac\models\Role */ use kartik\select2\Select2; use matacms\widgets\ActiveForm; use yii\helpers\Html; ?> <?php $form = ActiveForm::begin(['enableClientValidation' => false, 'enableAjaxValidation' => true]); ?> <?php echo $form->field($model, 'name'); ?> <?php echo $form->field($model, 'description'); ?> <?php echo $form->field($model, 'rule'); ?> <?php
*/ $this->title = Yii::t('user', 'Recover your password'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="row"> <div class="col-md-4 col-md-offset-4"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><?php echo Html::encode($this->title); ?> </h3> </div> <div class="panel-body"> <?php $form = ActiveForm::begin(['id' => 'password-recovery-form', 'enableAjaxValidation' => true, 'enableClientValidation' => false]); ?> <?php echo $form->field($model, 'email')->textInput(['autofocus' => true]); ?> <?php echo Html::submitButton(Yii::t('user', 'Continue'), ['class' => 'btn btn-primary btn-block']); ?> <br> <?php ActiveForm::end(); ?> </div>
<?php echo Yii::t('user', 'Looks like this is first time you are using {0} account to sign in to {1}', [$account->provider, Yii::$app->name]); ?> . <?php echo Yii::t('user', 'Connect this account by entering desired username and your email address below'); ?> . <?php echo Yii::t('user', 'You will never have to use this form again'); ?> . </p> </div> <?php $form = ActiveForm::begin(['id' => 'connect-account-form']); ?> <?php echo $form->field($model, 'username'); ?> <?php echo $form->field($model, 'email'); ?> <?php echo Html::submitButton(Yii::t('user', 'Finish'), ['class' => 'btn btn-success btn-block']); ?> <?php
use matacms\widgets\ActiveForm; use yii\helpers\Html; /** * @var yii\web\View $this * @var yii\widgets\ActiveForm $form * @var mata\user\models\LoginForm $model * @var string $action */ ?> <?php if (Yii::$app->user->isGuest) { ?> <?php $form = ActiveForm::begin(['id' => 'login-widget-form', 'fieldConfig' => ['template' => "{input}\n{error}"], 'action' => $action]); ?> <?php echo $form->field($model, 'login')->textInput(['placeholder' => 'Login']); ?> <?php echo $form->field($model, 'password')->passwordInput(['placeholder' => 'Password']); ?> <?php echo $form->field($model, 'rememberMe')->checkbox(); ?> <?php
<div class="row"> <div class="col-md-3"> <?php echo $this->render('_menu'); ?> </div> <div class="col-md-9"> <div class="panel panel-default"> <div class="panel-heading"> <?php echo Html::encode($this->title); ?> </div> <div class="panel-body"> <?php $form = ActiveForm::begin(['id' => 'profile-form', 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => ['template' => "{label}\n<div class=\"col-lg-9\">{input}</div>\n<div class=\"col-sm-offset-3 col-lg-9\">{error}\n{hint}</div>", 'labelOptions' => ['class' => 'col-lg-3 control-label']], 'enableAjaxValidation' => true, 'enableClientValidation' => false, 'validateOnBlur' => false]); ?> <?php echo $form->field($model, 'name'); ?> <?php echo $form->field($model, 'public_email'); ?> <?php echo $form->field($model, 'website'); ?> <?php