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
|
withExpandableNote :: Field sub master v -> (String, GWidget sub master ()) -> Field sub master v
|
||||||
#endif
|
#endif
|
||||||
withExpandableNote field (toggle, note) = withNote field $ [whamlet|
|
withExpandableNote field (toggle, note) = withNote field $ [whamlet|
|
||||||
<a .btn data-toggle="collapse" data-target="##{ident}">
|
<a .btn data-toggle="collapse" data-target="##{ident}">#{toggle}</a>
|
||||||
#{toggle}
|
|
||||||
<div ##{ident} .collapse>
|
<div ##{ident} .collapse>
|
||||||
^{note}
|
^{note}
|
||||||
|]
|
|]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue