Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- use yii\helpers\Html;
- use yii\widgets\ActiveForm;
- /* @var $this yii\web\View */
- /* @var $model frontend\models\ContactSearch */
- /* @var $form yii\widgets\ActiveForm */
- ?>
- <div class="contact-search">
- <?php $form = ActiveForm::begin([
- 'action' => ['index'],
- 'method' => 'get',
- ]); ?>
- <?= $form->field($model, 'name') ?>
- <?= $form->field($model, 'email') ?>
- <div class="form-group">
- <?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
- <?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
- </div>
- <?php ActiveForm::end(); ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement