AItool commited on
Commit
ea5a2ee
·
verified ·
1 Parent(s): cbd8a2b

Update testnavbar.py

Browse files
Files changed (1) hide show
  1. testnavbar.py +2 -1
testnavbar.py CHANGED
@@ -136,7 +136,8 @@ def product_detail(product_name: str):
136
  LabelInput("Quantity", id='quantity'),
137
  Div(PaymentMethod, cls='space-y-4'),
138
  # ButtonT.primary because this is the primary action of the page!
139
- Button("Add to cart", cls=(ButtonT.primary, "w-full mt-4"))
 
140
  )
141
  ),
142
  # Grid has defaults and args for cols at different breakpoints, but you can pass in
 
136
  LabelInput("Quantity", id='quantity'),
137
  Div(PaymentMethod, cls='space-y-4'),
138
  # ButtonT.primary because this is the primary action of the page!
139
+ Button("Add to cart", cls=(ButtonT.primary, "w-full mt-4"),
140
+ Button("Back to Store", cls=(ButtonT.primary, "w-full mt-4"))
141
  )
142
  ),
143
  # Grid has defaults and args for cols at different breakpoints, but you can pass in