diff --git a/examples/smoothies/app/Route/Login.elm b/examples/smoothies/app/Route/Login.elm index 8ea4e779..e8331aca 100644 --- a/examples/smoothies/app/Route/Login.elm +++ b/examples/smoothies/app/Route/Login.elm @@ -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" ] ] }