Merge pull request 'fix margin of delete button on transaction_edit' (!48) from bugfix/layout-fix into master
All checks were successful
rvr-nextgen/pipeline/head This commit looks good

Reviewed-on: #48
This commit is contained in:
Bence Pőcze 2023-05-06 13:21:33 +02:00 committed by Gitea
commit ea579614b3
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6

View File

@ -48,7 +48,7 @@
<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>
<button type="submit" form="deleteTransaction" name="submit_button" data-confirmation="Are you sure you want to delete this transaction?" class="red marginLeft">Delete</button>
<?php endif; ?>
</div>
</form>