_search.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\ActiveForm;
  4. /* @var $this yii\web\View */
  5. /* @var $model app\models\HelpSearch */
  6. /* @var $form yii\widgets\ActiveForm */
  7. ?>
  8. <div class="help-search">
  9. <?php $form = ActiveForm::begin([
  10. 'action' => ['index'],
  11. 'method' => 'get',
  12. ]); ?>
  13. <?= $form->field($model, 'id') ?>
  14. <?= $form->field($model, 'title') ?>
  15. <?= $form->field($model, 'h1') ?>
  16. <?= $form->field($model, 'short_text') ?>
  17. <?= $form->field($model, 'text') ?>
  18. <?php // echo $form->field($model, 'description') ?>
  19. <?php // echo $form->field($model, 'key_words') ?>
  20. <?php // echo $form->field($model, 'cat_id') ?>
  21. <?php // echo $form->field($model, 'slug') ?>
  22. <?php // echo $form->field($model, 'created_at') ?>
  23. <div class="form-group">
  24. <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
  25. <?= Html::resetButton(Yii::t('app', 'Reset'), ['class' => 'btn btn-default']) ?>
  26. </div>
  27. <?php ActiveForm::end(); ?>
  28. </div>