<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="user-card-form"> <?php $form = ActiveForm::begin(); ?> <?= Html::input('text', 'password', '', ['class' => 'form-control custom-input']) ?> <br> <div class="form-group"> <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?> </div> <?php ActiveForm::end(); ?> </div>