keyboard navigation
This commit is contained in:
@@ -467,19 +467,20 @@
|
||||
:body (mm/default-step-body
|
||||
{}
|
||||
[:p.text-lg "Would you like to pay this invoice now?"]
|
||||
[:div.flex.flex-col.gap-2
|
||||
(com/button {:color :primary
|
||||
:class "w-24"
|
||||
:hx-get (hu/url (bidi.bidi/path-for ssr-routes/only-routes ::route/pay-wizard)
|
||||
{:selected (:db/id snapshot)
|
||||
:replace-modal true})} "Pay now")
|
||||
(com/button {:color :secondary
|
||||
:class "w-24"
|
||||
:hx-get (hu/url (bidi.bidi/path-for ssr-routes/only-routes ::route/new-wizard)
|
||||
{:replace-modal true})} "Add another")
|
||||
(com/button {:class "w-24"
|
||||
"@click" "$dispatch('modalclose')"}
|
||||
"Close")])
|
||||
|
||||
(com/navigation-button-list {}
|
||||
(com/navigation-button (-> {:class "w-48"
|
||||
:hx-get (hu/url (bidi.bidi/path-for ssr-routes/only-routes ::route/pay-wizard)
|
||||
{:selected (:db/id snapshot)
|
||||
:replace-modal true})}
|
||||
hx/trigger-click-or-enter) "Pay now")
|
||||
(com/navigation-button (-> {:class "w-48"
|
||||
:hx-get (hu/url (bidi.bidi/path-for ssr-routes/only-routes ::route/new-wizard)
|
||||
{:replace-modal true})}
|
||||
hx/trigger-click-or-enter) "Add another")
|
||||
(com/navigation-button {:class "w-48" :next-arrow? false
|
||||
"@click" "$dispatch('modalclose') "
|
||||
"@keyup.enter.stop" "$dispatch('modalclose')"} "Close")))
|
||||
:footer
|
||||
nil
|
||||
:validation-route ::route/new-wizard-navigate)))
|
||||
|
||||
Reference in New Issue
Block a user