feat: move custom css next to the other optional fileds

This commit is contained in:
Vlad Stan 2022-11-28 16:40:39 +02:00 committed by dni ⚡
parent 5d1d13765d
commit 338462af78
2 changed files with 10 additions and 10 deletions

View File

@ -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)

View File

@ -405,6 +405,15 @@
label="Completed button text (ie 'Back to merchant')"
>
</q-input>
<q-select
filled
dense
emit-value
v-model="formDialogCharge.data.custom_css"
:options="themeOptions"
label="Custom CSS theme (optional)"
>
</q-select>
<div class="row">
<div class="col">
@ -454,15 +463,6 @@
label="Wallet *"
>
</q-select>
<q-select
filled
dense
emit-value
v-model="formDialogCharge.data.custom_css"
:options="themeOptions"
label="Custom CSS theme (optional)"
>
</q-select>
<div class="row q-mt-lg">
<q-btn
unelevated