Make it possible to show HTML for the invalid parameter messages
So that they can include links.
This commit is contained in:
parent
8f702e5666
commit
cb871530cf
1 changed files with 7 additions and 3 deletions
|
|
@ -251,9 +251,13 @@
|
|||
(lambda (message)
|
||||
`(strong
|
||||
(@ (style "display: block;"))
|
||||
,(string-append
|
||||
"Error: " message)))
|
||||
(filter string? messages))))))
|
||||
"Error: "
|
||||
,@(if (list? message)
|
||||
message
|
||||
(list message))))
|
||||
(remove (lambda (v)
|
||||
(eq? #f v))
|
||||
messages))))))
|
||||
'())
|
||||
,@(if required? '((strong "Required. ")) '())
|
||||
,@(if help-text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue