diff options
Diffstat (limited to 'src/client/View/SignIn.elm')
-rw-r--r-- | src/client/View/SignIn.elm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/View/SignIn.elm b/src/client/View/SignIn.elm index a790f0a..6fb809d 100644 --- a/src/client/View/SignIn.elm +++ b/src/client/View/SignIn.elm @@ -14,12 +14,14 @@ import Update.SignIn exposing (..) import ServerCommunication as SC import ServerCommunication exposing (serverCommunications) +import Model exposing (Model) import Model.View.SignInView exposing (..) +import Model.Translations exposing (getMessage) import View.Events exposing (onSubmitPrevDefault) -renderSignIn : SignInView -> Html -renderSignIn signInView = +renderSignIn : Model -> SignInView -> Html +renderSignIn model signInView = div [ class "signIn" ] [ H.form @@ -31,7 +33,7 @@ renderSignIn signInView = [] , button [] - [ text "Sign in" ] + [ text (getMessage "SignIn" model.translations)] ] , div [ class "result" ] |