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
parent 3fbb6bb9e4
commit 015f19fd0e
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, data.amount,
0, 0,
data.extra, data.extra,
data.custom_css data.custom_css,
), ),
) )
return await get_charge(charge_id) return await get_charge(charge_id)

View File

@ -405,6 +405,15 @@
label="Completed button text (ie 'Back to merchant')" label="Completed button text (ie 'Back to merchant')"
> >
</q-input> </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="row">
<div class="col"> <div class="col">
@ -454,15 +463,6 @@
label="Wallet *" label="Wallet *"
> >
</q-select> </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"> <div class="row q-mt-lg">
<q-btn <q-btn
unelevated unelevated