guild/backend/modules/questionnaire/views/user-questionnaire/_search.php

44 lines
1.0 KiB
PHP

<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\modules\questionnaire\models\UserQuestionnaireSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="user-questionnaire-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<?= $form->field($model, 'id') ?>
<?= $form->field($model, 'questionnaire_id') ?>
<?= $form->field($model, 'user_id') ?>
<?= $form->field($model, 'uuid') ?>
<?= $form->field($model, 'created_at') ?>
<?php // echo $form->field($model, 'updated_at') ?>
<?php // echo $form->field($model, 'score') ?>
<?php // echo $form->field($model, 'status') ?>
<?php // echo $form->field($model, 'percent_correct_answers') ?>
<div class="form-group">
<?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
<?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>