Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
e2b23ff89c21
Commit
e145172d
authored
Aug 31, 2021
by
Simon Chabot
Browse files
fix: don’t escape value in editform title
--HG-- branch : 3.32
parent
e78a8eb54b05
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb/web/views/editforms.py
View file @
e2b23ff8
...
...
@@ -228,7 +228,11 @@ class CreationFormView(EditionFormView):
%
(
entity
.
e_schema
,
linkto_type
,
rtype
,
entity
.
e_schema
)
)
msg
=
title
%
{
"linkto"
:
self
.
_cw
.
view
(
"incontext"
,
linkto_rset
)}
self
.
w
(
'<div class="formTitle notransform"><span>%s</span></div>'
,
msg
)
self
.
w
(
'<div class="formTitle notransform"><span>%s</span></div>'
,
msg
,
escape
=
False
,
)
else
:
super
().
form_title
(
entity
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment