Claus Conrad committed 8769de2

* Changed "p" to "span" for better compatibility with IDEs that don't support Chameleon fully (they might complain that P elements cannot be contained inside other P elements, for example)

* Omitted containing P/SPAN element (otherwise this could lead to some visible whitespace in browsers)

Comments (0)

Files changed (1)


-<p metal:define-macro="csrf_token">
+<span metal:define-macro="csrf_token" tal:omit-tag="">
   <input type='hidden' name='csrfmiddlewaretoken' value='' tal:attributes="value csrf_token" />