work around OSX mavericks' broken cpp
This commit is contained in:
parent
82dcf33482
commit
69d68f9d53
1 changed files with 1 additions and 2 deletions
|
@ -67,8 +67,7 @@ withExpandableNote :: (Monad m, ToWidget (HandlerSite m) w) => Field m v -> (Str
|
|||
withExpandableNote :: Field sub master v -> (String, GWidget sub master ()) -> Field sub master v
|
||||
#endif
|
||||
withExpandableNote field (toggle, note) = withNote field $ [whamlet|
|
||||
<a .btn data-toggle="collapse" data-target="##{ident}">
|
||||
#{toggle}
|
||||
<a .btn data-toggle="collapse" data-target="##{ident}">#{toggle}</a>
|
||||
<div ##{ident} .collapse>
|
||||
^{note}
|
||||
|]
|
||||
|
|
Loading…
Reference in a new issue