feature/RVRNEXT-34-use-text-labels-instead-of-placeholders-in-forms #47

Merged
bence merged 3 commits from feature/RVRNEXT-34-use-text-labels-instead-of-placeholders-in-forms into master 2023-05-02 19:54:08 +02:00
Showing only changes of commit 7f1177cc55 - Show all commits

View File

@ -46,10 +46,10 @@
<input type="datetime-local" class="text big fullWidth" name="time" value="<?= isset($transaction) ? $transaction->getTimeDate()->format('Y-m-d\TH:i') : (new DateTime())->format('Y-m-d\TH:i') ?>" required>
<p class="formError justify marginTop"></p>
<div class="right marginTop" style="font-size: 0;">
<button type="submit" name="submit_button"><?= isset($transaction) ? 'Save' : 'Create' ?></button>
<?php if (isset($transaction)): ?>
<button type="submit" form="deleteTransaction" name="submit_button" data-confirmation="Are you sure you want to delete this transaction?" class="red marginRight">Delete</button>
<?php endif; ?>
<button type="submit" name="submit_button"><?= isset($transaction) ? 'Save' : 'Create' ?></button>
</div>
</form>
<?php if (isset($transaction)): ?>