464ede30
Alexey Boroda
-Global comments
|
1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
use artbox\webcomment\models\CommentModel;
use artbox\webcomment\widgets\CommentWidget;
use yii\web\View;
/**
* @var View $this
* @var CommentModel $model
*/
?>
|
fc48eb62
Eugeny Galkovskiy
Отзывы
|
13
14
15
16
|
<div id="content" class="feedback-wr">
<div class="container">
<div class="row">
<div class="col-md-12">
|
47ca7eba
Eugeny Galkovskiy
Галерея, стили
|
17
18
19
|
<div class="heading">
<h2>Отзывы</h2>
</div>
|
fc48eb62
Eugeny Galkovskiy
Отзывы
|
20
21
22
23
24
25
26
|
<?php
echo CommentWidget::widget(
[
'model' => $model,
'display_name' => 'name',
'entityIdAttribute' => 'id',
'reply' => true,
|
47ca7eba
Eugeny Galkovskiy
Галерея, стили
|
27
|
'layout' => "{list} {reply_form}<div class='comments-border'></div><h4 class='text-uppercase title-comment'>Оставить отзыв</h4>{form}",
|
fc48eb62
Eugeny Galkovskiy
Отзывы
|
28
29
30
31
32
33
34
35
36
37
38
39
|
'delete' => false,
'more' => [
'show_' => true,
'key' => 2,
],
'formView' => '@frontend/views/site/comment/artbox_comment_form',
'listView' => '@frontend/views/site/comment/artbox_comment_list',
'replyView' => '@frontend/views/site/comment/artbox_comment_reply',
'itemView' => '@frontend/views/site/comment/artbox_comment_item',
]
);
?>
|
464ede30
Alexey Boroda
-Global comments
|
40
|
|
fc48eb62
Eugeny Galkovskiy
Отзывы
|
41
42
43
44
|
</div>
</div>
</div>
</div>
|