From 015f19fd0e2fd42e60e4467e7accfbcd1648f038 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 28 Nov 2022 16:40:39 +0200 Subject: [PATCH] feat: move custom css next to the other optional fileds --- lnbits/extensions/satspay/crud.py | 2 +- .../satspay/templates/satspay/index.html | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lnbits/extensions/satspay/crud.py b/lnbits/extensions/satspay/crud.py index 17df69d7a..7e34f6f80 100644 --- a/lnbits/extensions/satspay/crud.py +++ b/lnbits/extensions/satspay/crud.py @@ -74,7 +74,7 @@ async def create_charge(user: str, data: CreateCharge) -> Charges: data.amount, 0, data.extra, - data.custom_css + data.custom_css, ), ) return await get_charge(charge_id) diff --git a/lnbits/extensions/satspay/templates/satspay/index.html b/lnbits/extensions/satspay/templates/satspay/index.html index 9691572a2..afb7837e1 100644 --- a/lnbits/extensions/satspay/templates/satspay/index.html +++ b/lnbits/extensions/satspay/templates/satspay/index.html @@ -405,6 +405,15 @@ label="Completed button text (ie 'Back to merchant')" > + +
@@ -454,15 +463,6 @@ label="Wallet *" > - -