Your IP : 216.73.216.79


Current Path : /var/www/html/crm/views/rider/
Upload File :
Current File : /var/www/html/crm/views/rider/_form.php

<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\Rider */
/* @var $form yii\widgets\ActiveForm */
?>
<?php $form = ActiveForm::begin(['options' => ['class' => 'kt-form kt-form--label-right']]); ?>
<div class="kt-container kt-container--fluid  kt-grid__item kt-grid__item--fluid">
    <div class="kt-portlet kt-portlet--mobile">
        <div class="kt-portlet__body kt-portlet__body--fit">
            <div class="kt-portlet__head"><div class="kt-portlet__head-label"><h4>Receiver Details</h4></div></div>
            <div class="kt-portlet__body">
                <p><i class="fas fa-info-circle"></i>&nbsp;&nbsp;Field with <span class="required">*</span> is required</p>
                <?=
                $form->field($model, 'name', [
                    'template' => "{label}<span class='required'>*</span>{input}<span class='kt-font-danger font-weight-bold'>{error}</span>"
                ])->textInput(['maxlength' => true]);
                ?>
                <?=
                $form->field($model, 'phone', [
                    'template' => "{label}<span class='required'>*</span>{input}<span class='kt-font-danger font-weight-bold'>{error}</span>"
                ])->textInput(['maxlength' => true]);
                ?>
                <div class="kt-form__actions">
                    <?= Html::a('<i class="fas fa-arrow-left"></i>&nbsp;Back', ['index'], ['class' => 'btn btn-outline-brand']) ?>&nbsp;
                    <?= Html::a('<i class="fas fa-sync"></i>&nbsp;Reset', [Yii::$app->controller->action->id, 'id' => Yii::$app->getRequest()->getQueryParam('id'), 'returnUrl' => Yii::$app->getRequest()->getQueryParam('returnUrl')], ['class' => 'btn btn-outline-success']); ?>&nbsp;
                    <?= Html::submitButton('<i class="fas fa-paper-plane"></i>&nbsp;Submit', ['class' => 'btn btn-info']) ?>
                </div>
            </div>
        </div>
    </div>
</div>
<?php ActiveForm::end(); ?>