{% extends 'base.html' %}
{% load wagtailcore_tags %}
{% wagtail_site as current_site %}

{% block content %}
  {% if self.your_words_competition and not self.personalisableform %}
    {% include "forms/form_modules/_yourwords.html" %}
  {% elif self.display_form_directly and not self.personalisableform  %}
    {% include "forms/form_modules/_polls.html" %}
  {% else %}
    {% include "forms/form_modules/_surveys.html" %}
  {% endif %}
{% endblock %}
{% block breadcrumbs %}
  <div class="breadcrumbs">
    <ul class="breadcrumbs-list breadcrumbs-list--pipe">
      <li class="breadcrumbs-list__item breadcrumbs-list__item--pipe">
        <a href="{{current_site.root_page.specific.url}}" class="breadcrumbs-list__anchor ">{% trans "Home" %}</a>
      </li>
      <li class="breadcrumbs-list__item breadcrumbs-list__item--pipe">
        <span class="breadcrumbs-list__anchor breadcrumbs-list__anchor--is-active">{{ self }}</span>
      </li>
    </ul>
  </div>
{% endblock %}
