Esempio n. 1
0
echo $form->field($model, 'npp')->textInput();
?>
                                    <?php 
echo $form->field($model, 'answ_min')->textInput();
?>
                                    <?php 
echo $form->field($model, 'answ_max')->textInput();
?>
                                    <?php 
echo $form->field($model, 'isRandom')->dropDownList(Question::getIsRandomOptions());
?>
                                    <?php 
echo $form->field($model, 'bbPresent')->dropDownList(Question::getBBPresentOptions());
?>
                                    <?php 
echo $form->field($model, 'ivPresent')->dropDownList(Question::getIVPresentOptions());
?>
                                    <?php 
echo $form->field($model, 'openQuestionAnswerMaxLength')->textInput();
?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="panel-footer">
                    <?php 
echo Html::submitButton($model->isNewRecord ? Yii::t('app', 'Save') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
?>
                </div>
            </div>