<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model frontend\models\UserSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="panel panel-default"> 
	<div class="panel-heading">
		<?= Yii::t('app','Keresés')?>
	</div>
	<div class="panel-body">
		<div class="user-search">
		
		    <?php $form = ActiveForm::begin([
		        'action' => ['index'],
		        'method' => 'get',
		    ]); ?>
		
		    <?= $form->field($model, 'username') ?>
		
		    <?php  echo $form->field($model, 'email') ?>
		
		    <div class="form-group">
		        <?= Html::submitButton(Yii::t('app', 'Keresés'), ['class' => 'btn btn-primary']) ?>
		    </div>
		
		    <?php ActiveForm::end(); ?>
		
		</div>
	</div>
</div>