Show button transition.

This commit is contained in:
Dillon Kearns 2022-07-22 21:06:20 +02:00
parent 6a6cb2e17e
commit 82769e3c20

View File

@ -101,7 +101,11 @@ form =
[ username |> fieldView info "Username"
]
, Html.button []
[ Html.text "Login"
[ if info.isTransitioning then
Html.text "Logging in..."
else
Html.text "Login"
]
]
}