isLastPage('reviews')}}data-lastPage{{endif}} data-feedID='event-{$event->id}-reviews' id='reviews'>
{{if $event->canReview()}}
{{if $event->locked()}}
{lang="item_locked_can_review"}
{{endif}}
{$event->reviewForm()|raw}
{{else}}
{{if $event->locked()}}
{template="commentUnavailable" group="forms" location="front" app="core" params="'item_locked_cannot_comment'"}
{{elseif \IPS\Member::loggedin()->restrict_post}}
{template="commentUnavailable" group="forms" location="front" app="core" params="'restricted_cannot_comment', \IPS\Member::loggedIn()->restrict_post"}
{{endif}}
{{endif}}
{{if count( $event->reviews() )}}
{{if $event->reviewPageCount() > 1}}
{$event->reviewPagination( array( 'tab', 'sort' ) )|raw}
{{endif}}
{{if $event->reviewPageCount() > 1}}
{$event->reviewPagination( array( 'tab', 'sort' ) )|raw}
{{endif}}
{{endif}}