adapt templates to bootstrap3 layout and class changes

This commit is contained in:
Sören Brunk 2014-04-20 12:42:31 +02:00
parent c8dccf9582
commit 23091cc318
67 changed files with 191 additions and 185 deletions

View file

@ -67,7 +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>
<a .btn .btn-default data-toggle="collapse" data-target="##{ident}">#{toggle}</a>
<div ##{ident} .collapse>
^{note}
|]