divio/django-cms — pull request #3310 by mkoistinen (2014-07-15 20:08:12+00:00)
Title: Fix 3201

Using the {% render_placeholder ... as my_contact_var %} would previously render the front-end editing stuff when the toolbar was visible and in edit mode. This created multiple issues, namely:

- In structure mode, presents an odd placeholder for editing in the upper left hand corner of the page;
- Since the above occurs, if a normal version of the render_placeholder for the same placeholder occurs later in the document, it is not rendered at all;
- If the templatetag's as form was used before the cms_toolbar tag, then we get JS errors that CMS is not defined, possibly causing further issues.

This fixes these issues.