'inquirer-form', 'options' => ['class' => 'form-horizontal', 'enctype' => 'multipart/form-data']]); ?>
field($model, 'text')->textInput([ 'maxlength' => true, 'class' => 'form-control js-word-count-input', 'placeholder' => 'Вопрос', // 'id' => 'js-news-content' ])->label('Вопрос'); ?>

Варианты ответов

getAnswers(); foreach($answers as $item){ ?>

count?>
-
show == 'Y')?true:false, echo $form->field($model, 'show')->checkbox([ 'class' => 'form-check-input', 'label' => 'Включить голосование', 'uncheck' => 'N', 'value' => 'Y', 'checked' => ($model->show == 'Y')?true:false ]); echo $form->field($model, 'active')->checkbox([ 'class' => 'form-check-input', 'label' => 'Показывать', 'uncheck' => 'N', 'value' => 'Y', 'checked' => ($model->active == 'Y')?true:false ]); ?>
'btn btn-success']); ?>