guild/backend/modules/card/views/user-card/_search.php

46 lines
1.0 KiB
PHP
Raw Normal View History

2018-10-11 11:15:09 +03:00
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\card\models\UserCardSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="user-card-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'id') ?>
<?= $form->field($model, 'fio') ?>
<?= $form->field($model, 'passport') ?>
<?= $form->field($model, 'photo') ?>
<?= $form->field($model, 'email') ?>
<?php // echo $form->field($model, 'gender') ?>
<?php // echo $form->field($model, 'dob') ?>
<?php // echo $form->field($model, 'status') ?>
<?php // echo $form->field($model, 'created_at') ?>
<?php // echo $form->field($model, 'updated_at') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>