Support Bootstrap 2.0 on renderBootstrap.
This commit is contained in:
parent
e1066b622a
commit
4ebaa31d90
@ -317,9 +317,9 @@ renderBootstrap aform fragment = do
|
||||
let widget = [whamlet|
|
||||
\#{fragment}
|
||||
$forall view <- views
|
||||
<div .clearfix :fvRequired view:.required :not $ fvRequired view:.optional :has $ fvErrors view:.error>
|
||||
<label for=#{fvId view}>#{fvLabel view}
|
||||
<div.input>
|
||||
<div .control-group .clearfix :fvRequired view:.required :not $ fvRequired view:.optional :has $ fvErrors view:.error>
|
||||
<label .control-label for=#{fvId view}>#{fvLabel view}
|
||||
<div .controls .input>
|
||||
^{fvInput view}
|
||||
$maybe tt <- fvTooltip view
|
||||
<span .help-block>#{tt}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user