mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 23:12:22 +03:00
Fix test.
This commit is contained in:
parent
4117e072ca
commit
cc81cf6bfb
@ -81,7 +81,7 @@ all =
|
||||
-- ),
|
||||
test "new design idea 3" <|
|
||||
\() ->
|
||||
FormParser.runNew
|
||||
FormParser.runServerSide
|
||||
(fields
|
||||
[ ( "password", "mypassword" )
|
||||
, ( "password-confirmation", "mypassword" )
|
||||
@ -148,8 +148,6 @@ field name value =
|
||||
)
|
||||
|
||||
|
||||
fields : List ( String, String ) -> Dict String Pages.Form.FieldState
|
||||
fields : List ( String, String ) -> List ( String, String )
|
||||
fields list =
|
||||
list
|
||||
|> List.map (\( name, value ) -> field name value)
|
||||
|> Dict.fromList
|
||||
|
Loading…
Reference in New Issue
Block a user