@@ -69,29 +69,31 @@ subscriptions model =
70view : Model -> List (Html Msg)
70view : Model -> List (Html Msg)
71view model =
71view model =
72+ [ form [ Ev.onSubmit Submit ]
72− [ label [] [ text "Server" ]
73+ [ label [] [ text "Server" ]
74− [ Attr.type_ "url"
75+ [ Attr.type_ "url"
75− , Attr.value model.server
76+ , Attr.value model.server
76− , Ev.onInput UpdateServer
77+ , Ev.onInput UpdateServer
78+ , Attr.attribute "autocomplete" "url"
81+ , label [] [ text "Email" ]
84+ , Attr.value model.email
85+ , Ev.onInput UpdateEmail
86+ , Attr.attribute "autocomplete" "email"
89+ , label [] [ text "Password" ]
91+ [ Attr.type_ "password"
92+ , Attr.value model.password
93+ , Ev.onInput UpdatePassword
77− , Attr.attribute "autocomplete" "url"
94+ , Attr.attribute "autocomplete" "current-password"
97+ , alignRight [ button [ Attr.type_ "submit" ] [ text "Log in" ] ]
80− , label [] [ text "Email" ]
83− , Attr.value model.email
84− , Ev.onInput UpdateEmail
85− , Attr.attribute "autocomplete" "email"
88− , label [] [ text "Password" ]
90− [ Attr.type_ "password"
91− , Attr.value model.password
92− , Ev.onInput UpdatePassword
93− , Attr.attribute "autocomplete" "current-password"
96− , alignRight [ button [ Ev.onClick Submit ] [ text "Log in" ] ]