45 lines
999 B
PHP
45 lines
999 B
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\ActiveForm;
|
|
|
|
/** @var yii\web\View $this */
|
|
/** @var app\models\TicketsSearch $model */
|
|
/** @var yii\widgets\ActiveForm $form */
|
|
?>
|
|
|
|
<div class="tickets-search">
|
|
|
|
<?php $form = ActiveForm::begin([
|
|
'action' => ['index'],
|
|
'method' => 'get',
|
|
'options' => [
|
|
'data-pjax' => 1
|
|
],
|
|
]); ?>
|
|
|
|
<?= $form->field($model, 'id') ?>
|
|
|
|
<?= $form->field($model, 'user_id') ?>
|
|
|
|
<?= $form->field($model, 'title') ?>
|
|
|
|
<?= $form->field($model, 'description') ?>
|
|
|
|
<?= $form->field($model, 'status') ?>
|
|
|
|
<?php // echo $form->field($model, 'created_at') ?>
|
|
|
|
<?php // echo $form->field($model, 'updated_at') ?>
|
|
|
|
<?php // echo $form->field($model, 'ip') ?>
|
|
|
|
<div class="form-group">
|
|
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
|
|
<?= Html::resetButton('Reset', ['class' => 'btn btn-outline-secondary']) ?>
|
|
</div>
|
|
|
|
<?php ActiveForm::end(); ?>
|
|
|
|
</div>
|