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