Show field errors in profile form
This commit is contained in:
parent
1276ffe020
commit
bd1bcf51e9
|
@ -75,6 +75,8 @@ profileForm ProfilePageUser {..} extraHtml = do
|
||||||
<label for="#{fvId}">
|
<label for="#{fvId}">
|
||||||
^{fvLabel}
|
^{fvLabel}
|
||||||
^{fvInput}
|
^{fvInput}
|
||||||
|
$maybe err <- fvErrors
|
||||||
|
<div class=".errors">#{err}
|
||||||
|]
|
|]
|
||||||
widget = [whamlet|
|
widget = [whamlet|
|
||||||
#{extraHtml}
|
#{extraHtml}
|
||||||
|
|
Loading…
Reference in New Issue