Removed fiName
This commit is contained in:
parent
3052bad1c1
commit
fd53c60fc9
@ -156,7 +156,6 @@ requiredFieldHelper (FieldProfile parse render mkWidget) ffs orig = GForm $ do
|
||||
{ fiLabel = label
|
||||
, fiTooltip = tooltip
|
||||
, fiIdent = theId
|
||||
, fiName = name
|
||||
, fiInput = mkWidget theId name val True
|
||||
, fiErrors = case res of
|
||||
FormFailure [x] -> Just $ string x
|
||||
@ -188,7 +187,6 @@ optionalFieldHelper (FieldProfile parse render mkWidget) ffs orig' = GForm $ do
|
||||
{ fiLabel = label
|
||||
, fiTooltip = tooltip
|
||||
, fiIdent = theId
|
||||
, fiName = name
|
||||
, fiInput = mkWidget theId name val False
|
||||
, fiErrors = case res of
|
||||
FormFailure x -> Just $ string $ unlines x
|
||||
@ -212,7 +210,6 @@ data FieldInfo sub y = FieldInfo
|
||||
{ fiLabel :: Html
|
||||
, fiTooltip :: Html
|
||||
, fiIdent :: String
|
||||
, fiName :: String
|
||||
, fiInput :: GWidget sub y ()
|
||||
, fiErrors :: Maybe Html
|
||||
}
|
||||
|
||||
@ -108,7 +108,6 @@ boolField ffs orig = GForm $ do
|
||||
{ fiLabel = label
|
||||
, fiTooltip = tooltip
|
||||
, fiIdent = theId
|
||||
, fiName = name
|
||||
, fiInput = addBody [$hamlet|
|
||||
%input#$theId$!type=checkbox!name=$name$!:val:checked
|
||||
|]
|
||||
@ -158,7 +157,6 @@ selectField pairs ffs initial = GForm $ do
|
||||
{ fiLabel = label
|
||||
, fiTooltip = tooltip
|
||||
, fiIdent = theId
|
||||
, fiName = name
|
||||
, fiInput = addBody input
|
||||
, fiErrors = case res of
|
||||
FormFailure [x] -> Just $ string x
|
||||
@ -201,7 +199,6 @@ maybeSelectField pairs ffs initial' = GForm $ do
|
||||
{ fiLabel = label
|
||||
, fiTooltip = tooltip
|
||||
, fiIdent = theId
|
||||
, fiName = name
|
||||
, fiInput = addBody input
|
||||
, fiErrors = case res of
|
||||
FormFailure [x] -> Just $ string x
|
||||
|
||||
Loading…
Reference in New Issue
Block a user