[ 'modal' => true, 'title'=>"Gardens4Science Feedback", 'width'=>"800px", 'id'=>'feedbackdiv', 'class'=> "feedbackclass" ],'id'=>'feedbackdiv','class'=> "feedbackclass" ]); echo "Please provide your feedback below:"; $form = ActiveForm::begin(['id' => 'feedback-form', 'method' =>'post','action' => ['site/feedback'],]); echo ''; //if empty -> no spam echo $form->field($model, 'name'); echo $form->field($model, 'email'); echo $form->field($model, 'subject'); echo $form->field($model, 'body')->textArea(['rows' => 6]); if(!isset($current)) $current=""; echo Html::hiddenInput('FeedbackForm[currentURL]',$current); echo $form->field($model, 'verifyCode')->widget(common\models\CaptchaRefreshable::className()); echo'