[ 'modal' => true, 'title'=>"Specimen Explorer 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 ( Captcha::className (), [ 'template' => '
{image}
{input}
' ] ); echo'
'; echo Html::submitButton('Submit', ['class' => 'btn btn-success', 'name' => 'feedback-button']); echo Html::button('Cancel', ['class' => 'btn btn-success', 'name' => 'feedback-button', 'id'=>'cancel-button']); echo'
'; ActiveForm::end(); Dialog::end(); ?>