_search.php 867 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\ActiveForm;
  4. /** @var yii\web\View $this */
  5. /** @var app\models\AuthorsSearch $model */
  6. /** @var yii\widgets\ActiveForm $form */
  7. ?>
  8. <div class="authors-search">
  9. <?php $form = ActiveForm::begin([
  10. 'action' => ['index'],
  11. 'method' => 'get',
  12. ]); ?>
  13. <?= $form->field($model, 'id') ?>
  14. <?= $form->field($model, 'uid') ?>
  15. <?= $form->field($model, 'name') ?>
  16. <?= $form->field($model, 'url') ?>
  17. <?= $form->field($model, 'jobTitle') ?>
  18. <?php // echo $form->field($model, 'phone') ?>
  19. <?php // echo $form->field($model, 'active') ?>
  20. <div class="form-group">
  21. <?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
  22. <?= Html::resetButton('Reset', ['class' => 'btn btn-outline-secondary']) ?>
  23. </div>
  24. <?php ActiveForm::end(); ?>
  25. </div>