Commit 2d78b9d372f0a389659ca7f30a80e1b5fd69c8e6
1 parent
e4d5d18b
comment styles 2
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
frontend/views/blog/view.php
| ... | ... | @@ -63,6 +63,14 @@ |
| 63 | 63 | <div class="panel-heading"> |
| 64 | 64 | <h3 class="panel-title">Оставить комментарий</h3> |
| 65 | 65 | </div> |
| 66 | + <style> | |
| 67 | + .form-group.input_bl.field-commentmodel-username.required.has-error:after { | |
| 68 | + content: 'Необходимо заполнить текст комментария'; | |
| 69 | + display: inline-block; | |
| 70 | + margin-top: 7px; | |
| 71 | + color: #dc0000; | |
| 72 | + } | |
| 73 | + </style> | |
| 66 | 74 | <?= CommentWidget::widget( |
| 67 | 75 | [ |
| 68 | 76 | 'model' => $article, | ... | ... |