echo $form->field($model, 'containerClass')->hiddenInput(array('value' => 'Space'))->label(false); ?> <?php echo $form->field($model, 'containerGuid')->hiddenInput(array('value' => '204a13c6-db8e-4cd9-9e81-66055e1b1a50'))->label(false); ?> <div class="contentForm_options"> <?php //echo $form->error($model,'post_text'); ?> <?php echo $form->field($model, 'post_text')->textArea(array('id' => "contentForm_answersText", 'rows' => '5', 'style' => 'height: auto !important;', "class" => "form-control contentForm", "placeholder" => "Question details...")); ?> <br /> <?php echo yii\helpers\Html::textInput('Tags', null, array('class' => 'form-control autosize contentForm', "placeholder" => "Tags... Specify at least one tag for your question")); ?> </div> <div class="pull-left" style="margin-top:5px;"> <?php // Creates Uploading Button echo \humhub\modules\file\widgets\FileUploadButton::widget(array('uploaderId' => 'contentFormFiles', 'fileListFieldName' => 'fileList')); ?> <script> $('#fileUploaderButton_contentFormFiles').bind('fileuploaddone', function (e, data) { $('.btn_container').show(); }); $('#fileUploaderButton_contentFormFiles').bind('fileuploadprogressall', function (e, data) { var progress = parseInt(data.loaded / data.total * 100, 10); if (progress != 100) {