<#if show == "vote" || show == "all"> ${rating.voteCount!} <#if !voteClosed> <#if ( show == "actionVote" || show == "all" ) && canDeleteVote> <@cForm action='jsp/site/Portal.jsp?page=extend-rating&action=doCancelRating' class='extend-rating-cancel mb-m'> <@cInput type='hidden' name='idExtendableResource' value='${idExtendableResource!}' class='' /> <@cInput type='hidden' name='extendableResourceType' value='${extendableResourceType!}' class='' /> <@cInput type='hidden' name='_csrftoken' value='${cancelVoteToken!}' class='' /> <@cBtn label='#i18n{module.extend.rating.rating.labelCancelVote}' class='secondary' /> <#elseif ( show == "all" || show == "actionVote" ) && canVote> <@cForm action='jsp/site/Portal.jsp?page=extend-rating&action=doRating' class='extend-rating-vote mb-m'> <@cInput type='hidden' name='idExtendableResource' value='${idExtendableResource!}' class='' /> <@cInput type='hidden' name='extendableResourceType' value='${extendableResourceType!}' class='' /> <@cInput type='hidden' name='ratingValue' value='1' class='' /> <@cInput type='hidden' name='_csrftoken' value='${voteToken!}' class='' /> <@cBtn label='#i18n{module.extend.rating.rating.labelVoteFor}' />