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}">
|
||||
^{fvLabel}
|
||||
^{fvInput}
|
||||
$maybe err <- fvErrors
|
||||
<div class=".errors">#{err}
|
||||
|]
|
||||
widget = [whamlet|
|
||||
#{extraHtml}
|
||||
|
|
Loading…
Reference in New Issue