diff options
Diffstat (limited to 'Biz/PodcastItLater/Web.py')
| -rw-r--r-- | Biz/PodcastItLater/Web.py | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/Biz/PodcastItLater/Web.py b/Biz/PodcastItLater/Web.py index 9fe328b..b7870a1 100644 --- a/Biz/PodcastItLater/Web.py +++ b/Biz/PodcastItLater/Web.py @@ -1220,22 +1220,25 @@ def account_page(request: Request) -> html.html | RedirectResponse: ], ) if tier == "free" - else html.a( - html.i( + else html.form( + html.button( + html.i( + classes=[ + "bi", + "bi-gear-fill", + "me-1", + ], + ), + "Manage Subscription", + type="submit", classes=[ - "bi", - "bi-gear-fill", - "me-1", + "btn", + "btn-primary", + "me-2", ], ), - "Manage Subscription", - href="#", - hx_post="/billing/portal", - classes=[ - "btn", - "btn-primary", - "me-2", - ], + method="post", + action="/billing/portal", ), ), classes=["card-body"], |
