Date poll - Don't display vote form when not granted
This commit is contained in:
parent
284dc4e5a5
commit
449f6bfc9d
@ -179,7 +179,7 @@
|
|||||||
|
|
||||||
{* Line to add a new vote *}
|
{* Line to add a new vote *}
|
||||||
|
|
||||||
{if $active && $editingVoteId === 0 && !$expired}
|
{if $active && $editingVoteId === 0 && !$expired && $accessGranted}
|
||||||
<tr id="vote-form" class="hidden-print">
|
<tr id="vote-form" class="hidden-print">
|
||||||
<td class="bg-info" style="padding:5px">
|
<td class="bg-info" style="padding:5px">
|
||||||
<div class="input-group input-group-sm">
|
<div class="input-group input-group-sm">
|
||||||
|
Loading…
Reference in New Issue
Block a user