diff --git a/common/modules/comment/widgets/views/form-project-comment.php b/common/modules/comment/widgets/views/form-project-comment.php index 7cfe6cd..d9c5020 100644 --- a/common/modules/comment/widgets/views/form-project-comment.php +++ b/common/modules/comment/widgets/views/form-project-comment.php @@ -10,12 +10,12 @@ $currencies = Currency::getCurrencyDropdown(); ?> +
+
-
-
-
-
-
+ + +
[ 'class' => 'resformsfile MultiFile-intercepted', 'enctype' => 'multipart/form-data' ] ]); ?> @@ -96,6 +96,6 @@ $form->end(); ?>
-
-
+ +
\ No newline at end of file diff --git a/frontend/views/company/_portfolio_list_view.php b/frontend/views/company/_portfolio_list_view.php index fe1f184..87cd8bc 100644 --- a/frontend/views/company/_portfolio_list_view.php +++ b/frontend/views/company/_portfolio_list_view.php @@ -53,5 +53,5 @@
14
-
specializations, 'specialization_name')), 20) ?>
+
specializations, 'specialization_name')) ?>
\ No newline at end of file diff --git a/frontend/views/performer/_portfolio_list_view.php b/frontend/views/performer/_portfolio_list_view.php index 9afb7d9..d4892b6 100644 --- a/frontend/views/performer/_portfolio_list_view.php +++ b/frontend/views/performer/_portfolio_list_view.php @@ -54,5 +54,5 @@
14
-
specializations, 'specialization_name')) ?>
+
specializations, 'specialization_name')) ?>
\ No newline at end of file diff --git a/frontend/views/tender/view.php b/frontend/views/tender/view.php index 16491a1..6d62d67 100755 --- a/frontend/views/tender/view.php +++ b/frontend/views/tender/view.php @@ -222,59 +222,114 @@ $this->title = 'My Yii Application';
- $this, - 'model' => $model->className(), - 'model_id' => $model->project_id, - 'comment_class' => \common\modules\comment\models\CommentProjectAnswer::className(), - 'class_options' => [ - 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, - 'user_id' => \Yii::$app->user->getId(), - 'guestComment' => false, - 'status' => \common\modules\comment\models\Comment::STATUS_ACTIVE, - ], - 'list_options' => [ - 'view' => 'list-comment-question', - ], - 'form_options' => [ - 'view' => 'form-comment-answer', - 'tag' => 'span', - ], - 'options' => [ - 'class' => 'proektant-comments-wr style', - ], - ]); - ?> - $this, - 'model' => $model::className(), - 'model_id' => $model->project_id, - 'comment_class' => \common\modules\comment\models\CommentProject::className(), - 'class_options' => [ - 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, - 'user_id' => \Yii::$app->user->getId(), - 'guestComment' => false, - 'status' => \common\modules\comment\models\CommentProject::STATUS_ACTIVE, - ], - 'list_options' => [ - 'view' => 'list-project-comment', - 'class' => 'section box tender-offer-proj-wr', - ], - 'form_options' => [ - 'view' => 'form-project-comment', - 'tag' => 'div', - 'class' => 'artbox_comment_form section-box tender-add-answer', - ], - 'options' => [ - 'tag' => false, - ], - ]); - ?> +
+ + +
+
+
+
+ $this, + 'model' => $model::className(), + 'model_id' => $model->project_id, + 'comment_class' => \common\modules\comment\models\CommentProject::className(), + 'class_options' => [ + 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, + 'user_id' => \Yii::$app->user->getId(), + 'guestComment' => false, + 'status' => \common\modules\comment\models\CommentProject::STATUS_ACTIVE, + ], + 'list_options' => [ + 'view' => 'list-project-comment', + 'class' => 'section box tender-offer-proj-wr', + ], + 'form_options' => [ + 'view' => 'form-project-comment', + 'tag' => 'div', + 'class' => 'artbox_comment_form section-box tender-add-answer', + ], + 'options' => [ + 'tag' => false, + ], + ]); + ?> +
+
+
+
+
+
+ $this, + 'model' => $model->className(), + 'model_id' => $model->project_id, + 'comment_class' => \common\modules\comment\models\CommentProjectAnswer::className(), + 'class_options' => [ + 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, + 'user_id' => \Yii::$app->user->getId(), + 'guestComment' => false, + 'status' => \common\modules\comment\models\Comment::STATUS_ACTIVE, + ], + 'list_options' => [ + 'view' => 'list-comment-question', + ], + 'form_options' => [ + 'view' => 'form-comment-answer', + 'tag' => 'span', + ], + 'options' => [ + 'class' => 'proektant-comments-wr style', + ], + ]); + ?> +
+
+
+
+
+ + + +