Made clearer if updating an existing vote
This commit is contained in:
parent
0095ef14fa
commit
f742dd5e87
@ -140,7 +140,7 @@ if (array_key_exists('poll_created', $_GET) && $_GET['poll_created'] == 1) { ?>
|
|||||||
name="submit_vote"
|
name="submit_vote"
|
||||||
value="submit" <?= $disabled_button?>
|
value="submit" <?= $disabled_button?>
|
||||||
data-can-vote="<?= $data_can_vote ?>">
|
data-can-vote="<?= $data_can_vote ?>">
|
||||||
Vote
|
<?= count($user_votes) > 0 ? 'Update' : '' ?> Vote
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user