예제 #1
0
?>
<div class="profile-search">
    <?php 
$form = ActiveForm::begin(['action' => ['index'], 'method' => 'get']);
?>
    <?php 
echo $form->field($model, 'first_name');
?>
    <?php 
echo $form->field($model, 'last_name');
?>
    <?php 
echo $form->field($model, 'birthdate');
?>
    <?php 
echo $form->field($model, 'gender_id')->dropDownList(Profile::getgenderList(), ['prompt' => 'Please Choose One']);
?>
    <?php 
// echo $form->field($model, 'created_at')
?>
    <?php 
// echo $form->field($model, 'updated_at')
?>
    <?php 
// echo $form->field($model, 'user_id')
?>
    <div class="form-group">
        <?php 
echo Html::submitButton('Search', ['class' => 'btn btn-primary']);
?>
        <?php