Мнения о пользователе: totalCount ?>

isNewRecord) { echo $form->field($model, 'comment_id') ->hiddenInput() ->label(false) ->error(false); } echo $form->field(( !empty( $model->rating ) ? $model->rating : $rating ), 'value') ->label(false) ->radioList([ 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, ]); if($model->scenario == $model::SCENARIO_GUEST) { echo $form->field($model, 'user_name', [ 'options' => [ 'class' => 'input-blocks-comm', ], 'inputOptions' => [ 'class' => 'custom-input-4', ], ]) ->textInput(); echo $form->field($model, 'user_email', [ 'options' => [ 'class' => 'input-blocks-comm', ], 'inputOptions' => [ 'class' => 'custom-input-4', ], ]) ->textInput(); } if(!empty( $model->comment_pid )) { echo Html::tag('div', Html::activeHiddenInput($model, 'comment_pid') . Html::tag('p', $model->parent->authorName, [ 'class' => 'artbox_comment_reply_author' ]), [ 'class' => CommentWidget::$baseClass[ 'reply_block' ] ]); } else { echo Html::tag('div', '', [ 'class' => CommentWidget::$baseClass[ 'reply_block' ] ]); } echo $form->field($model, 'text', [ 'options' => [ 'class' => 'input-blocks-comm area-comm', ], 'inputOptions' => [ 'class' => 'custom-area-4', ], ]) ->textarea(); ?>
isNewRecord) { echo Html::submitButton('Добавить комментарий'); } else { echo Html::submitButton('Обновить комментарий', [ 'class' => CommentWidget::$baseClass[ 'comment_update_submit' ] ]); } ?>
end(); ?>