{% extends 'subpage_base.html' %} {% load cms_tags %} {% block sub_content %} {% placeholder 'poll_content' or %}

Take a poll, it'll be fun!

This is an example of a placeholder in an app controlled page. You can edit this like you would any other placeholder on a CMS controlled page, but the content will be the same for every poll rendering this template. However, you can use a PlaceHolderField if you want the content to be poll specific. Check out the docs here: http://docs.django-cms.org/en/2.3/extending_cms/placeholders.html

{% endplaceholder %} {% if latest_poll_list %}
{% else %}

No polls are available.

{% endif %} {% endblock %}