{% if element.is_dynamic %} This is a dynamic page element, you can use the full Django template language here with the context:
{{ context_example }}
{% else %} This is a static page element, you can write plain text or include HTML and JavaScript{% endif %}
{% if error %}
Could not save element, errors: {{ error }}
{% endif %}
{% csrf_token %}