remove redundant constraint
authorJoey Hess <joeyh@joeyh.name>
Fri, 11 Nov 2016 22:39:05 +0000 (18:39 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 11 Nov 2016 22:39:05 +0000 (18:39 -0400)
Assistant/WebApp/Form.hs

index 1eb48b2e0e27f3fbea039a25daf9dd74ffc2276f..c2687c0dabf0b6258d74c55ab2febf42370482ef 100644 (file)
@@ -57,7 +57,7 @@ withNote field note = field { fieldView = newview }
                in [whamlet|^{fieldwidget}&nbsp;&nbsp;<span>^{note}</span>|]
 
 {- Note that the toggle string must be unique on the form. -}
-withExpandableNote :: (Monad m, ToWidget (HandlerSite m) w) => Field m v -> (String, w) -> Field m v
+withExpandableNote :: (ToWidget (HandlerSite m) w) => Field m v -> (String, w) -> Field m v
 withExpandableNote field (toggle, note) = withNote field $ [whamlet|
 <a .btn .btn-default data-toggle="collapse" data-target="##{ident}">#{toggle}</a>
 <div ##{ident} .collapse>