Spaces:
Sleeping
Sleeping
Update testnavbar.py
Browse files- 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
|