branch | 3.25 |
changeset 12091 | 3c9e296f0a6a |
parent 12090 | 245a4f81053b |
child 12184 | cd940ebefc4e |
--- a/cubicweb/web/views/editforms.py Thu Mar 23 12:09:59 2017 +0100 +++ b/cubicweb/web/views/editforms.py Tue Mar 07 13:13:23 2017 +0100 @@ -123,7 +123,8 @@ content = tags.a(centity.view('textoutofcontext'), href=centity.absolute_url()) else: - w(u'<li class="last">%s</li></ul>' % content) + if content is not None: + w(u'<li class="last">%s</li></ul>' % content) w(u'</li>\n') w(u'</ul>\n') form.render(w=self.w)