AItool commited on
Commit
73ab857
·
verified ·
1 Parent(s): 4b507bf

to act like toggle selectors (not submit the form)

Browse files
Files changed (1) hide show
  1. testnavbar.py +3 -3
testnavbar.py CHANGED
@@ -49,9 +49,9 @@ AppleSvg = Svg(role="img", viewBox="0 0 24 24", cls="h-6 w-6 mr-1")(Path(d=Appl
49
 
50
  PaymentMethod = Card(
51
  Grid(
52
- Button(DivCentered(Card1Svg, "Card"), cls='h-20 border-2 border-primary rounded-lg'),
53
- Button(DivCentered(PaypalSvg, "PayPal"), cls='h-20 border rounded-lg'),
54
- Button(DivCentered(AppleSvg, "Apple"), cls='h-20 border rounded-lg')
55
  ),
56
  Form(
57
  LabelInput('Name', id='name', placeholder='John Doe'),
 
49
 
50
  PaymentMethod = Card(
51
  Grid(
52
+ Button(DivCentered(Card1Svg, "Card"), cls='h-20 border-2 border-primary rounded-lg', type="button"),
53
+ Button(DivCentered(PaypalSvg, "PayPal"), cls='h-20 border rounded-lg', type="button"),
54
+ Button(DivCentered(AppleSvg, "Apple"), cls='h-20 border rounded-lg', type="button")
55
  ),
56
  Form(
57
  LabelInput('Name', id='name', placeholder='John Doe'),