guild/backend/modules/options/views/options/_search.php
2021-06-09 18:06:13 +03:00

36 lines
770 B
PHP

<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\options\models\OptionsSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="options-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'id') ?>
<?= $form->field($model, 'label') ?>
<?= $form->field($model, 'key') ?>
<?= $form->field($model, 'value') ?>
<?= $form->field($model, 'status') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>