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)
|
(lambda (message)
|
||||||
`(strong
|
`(strong
|
||||||
(@ (style "display: block;"))
|
(@ (style "display: block;"))
|
||||||
,(string-append
|
"Error: "
|
||||||
"Error: " message)))
|
,@(if (list? message)
|
||||||
(filter string? messages))))))
|
message
|
||||||
|
(list message))))
|
||||||
|
(remove (lambda (v)
|
||||||
|
(eq? #f v))
|
||||||
|
messages))))))
|
||||||
'())
|
'())
|
||||||
,@(if required? '((strong "Required. ")) '())
|
,@(if required? '((strong "Required. ")) '())
|
||||||
,@(if help-text
|
,@(if help-text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue