FormDemo: UI nit

This commit is contained in:
Jonathan Daugherty 2017-12-26 20:05:20 -08:00
parent ee9b476adf
commit eca0b2abbf

View File

@ -33,7 +33,7 @@ makeLenses ''FormState
mkForm :: FormState -> Form FormState e Name
mkForm =
newForm [ editShowableField field1 Edit1
`withHelper` (\w -> str "Edit 1: " <+> w)
`withHelper` (\w -> (hCenter $ str "Edit 1:") <=> w)
, editShowableField field2 Edit2
`withHelper` (\w -> str "Edit 2: " <+> w)
, editPasswordField fieldPassword Password