11 lines
416 B
Plaintext
11 lines
416 B
Plaintext
$newline never
|
|
#{fragment}
|
|
$case formLayout
|
|
$of FormStandard
|
|
$forall view <- views
|
|
<div .form-group :fvRequired view:.form-group--required :not $ fvRequired view:.form-group--optional :isJust $ fvErrors view:.form-group--has-error>
|
|
$if not (Blaze.null $ fvLabel view)
|
|
<label .form-group__label for=#{fvId view}>#{fvLabel view}
|
|
<div .form-group__input>
|
|
^{fvInput view}
|