$idField ] ) && $votes[ $comment->$idField ] === 1}}cRatingColumn_up{{elseif isset( $votes[ $comment->$idField ] ) && $votes[ $comment->$idField ] === -1}}cRatingColumn_down{{endif}} ipsColumn ipsColumn_narrow ipsType_center' data-controller='forums.front.topic.answers'>
{{if !$item->isArchived() }} {{if $comment->post_bwoptions['best_answer'] or $item->canSetBestAnswer()}}-
{{if $item->canSetBestAnswer() and !$comment->post_bwoptions['best_answer']}}
'bestAnswer', 'answer' => $comment->pid ) )}' title='{lang="set_as_best_answer"}' class='cBestAnswerIndicator cBestAnswerIndicator_off' data-ipsTooltip>
{{else}}
{{if $item->canSetBestAnswer()}}
'unsetBestAnswer' ) )}' title='{lang="unset_as_best_answer"}' class='cBestAnswerIndicator' data-ipsTooltip>
{{else}}
{{endif}}
{{endif}}
{{endif}}
{{if $comment->canVote()}}
-
'rateAnswer', 'answer' => $comment->pid, 'rating' => 1 ) )->csrf()}' class='{{if !$comment->canVote(1)}}ipsHide{{endif}} cAnswerRate cAnswerRate_up {{if isset( $votes[ $comment->$idField ] ) && $votes[ $comment->$idField ] === 1}}ipsType_positive{{endif}}' title='{lang="vote_answer_up"}' data-ipsTooltip>
{{else}}
-
member_id}}data-ipsTooltip title='{lang="sign_in_rate_answer"}'{{endif}}>
{{endif}}
-
{$comment->post_field_int}
{{if $comment->canVote() && \IPS\Settings::i()->forums_answers_downvote}}
-
'rateAnswer', 'answer' => $comment->pid, 'rating' => -1 ) )->csrf()}' class='{{if !$comment->canVote(-1)}}ipsHide{{endif}} cAnswerRate cAnswerRate_down {{if isset( $votes[ $comment->$idField ] ) && $votes[ $comment->$idField ] === -1}}ipsType_negative{{endif}}' title='{lang="vote_answer_down"}' data-ipsTooltip>
{{elseif \IPS\Settings::i()->forums_answers_downvote}}
-
member_id}}data-ipsTooltip title='{lang="sign_in_rate_answer"}'{{endif}}>
{{endif}}
{{else}}
{{if isset($comment->post_field_int) }}
-
{$comment->post_field_int}
{{endif}}
{{endif}}