fix margin of delete button on transaction_edit #48

Merged
bence merged 1 commits from bugfix/layout-fix into master 2023-05-06 13:21:34 +02:00
Showing only changes of commit d8786e74d5 - Show all commits

View File

@ -48,7 +48,7 @@
<div class="right marginTop" style="font-size: 0;"> <div class="right marginTop" style="font-size: 0;">
<button type="submit" name="submit_button"><?= isset($transaction) ? 'Save' : 'Create' ?></button> <button type="submit" name="submit_button"><?= isset($transaction) ? 'Save' : 'Create' ?></button>
<?php if (isset($transaction)): ?> <?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; ?> <?php endif; ?>
</div> </div>
</form> </form>