<leirás>

This commit is contained in:
rocho
2015-11-30 19:21:27 +01:00
parent 4935aaa4a2
commit 4872abbb20
10 changed files with 81 additions and 26 deletions

View File

@@ -2,6 +2,7 @@
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use common\models\Key;
/* @var $this yii\web\View */
/* @var $model backend\models\KeySearch */
@@ -15,21 +16,22 @@ use yii\widgets\ActiveForm;
'method' => 'get',
]); ?>
<?= $form->field($model, 'id_key') ?>
<?php //echo $form->field($model, 'id_key') ?>
<?= $form->field($model, 'number') ?>
<?php echo $form->field($model, 'number') ?>
<?php //$form->field($model, 'status')->dropDownList( Key::statuses() ) /*->textInput()*/ ?>
<?= $form->field($model, 'status') ?>
<?php //echo $form->field($model, 'status') ?>
<?= $form->field($model, 'type') ?>
<?php //echo $form->field($model, 'type') ?>
<?= $form->field($model, 'created_at') ?>
<?php //echo $form->field($model, 'created_at') ?>
<?php // echo $form->field($model, 'updated_at') ?>
<div class="form-group">
<?= Html::submitButton(Yii::t('backend/key', 'Search'), ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton(Yii::t('backend/key', 'Reset'), ['class' => 'btn btn-default']) ?>
<?php echo Html::resetButton(Yii::t('backend/key', 'Reset'), ['class' => 'btn btn-default']); /* Reset gomb */ ?>
</div>
<?php ActiveForm::end(); ?>