Made clearer if updating an existing vote

This commit is contained in:
aymm 2021-04-10 14:28:38 +02:00
parent 0095ef14fa
commit f742dd5e87
Signed by: phlaym
GPG Key ID: A06651BAB6777237

View File

@ -140,7 +140,7 @@ if (array_key_exists('poll_created', $_GET) && $_GET['poll_created'] == 1) { ?>
name="submit_vote"
value="submit" <?= $disabled_button?>
data-can-vote="<?= $data_can_vote ?>">
Vote
<?= count($user_votes) > 0 ? 'Update' : '' ?> Vote
</button>
</form>
</div>