{% load assets %}
{% get_asset "wcs:category:picture:"|add:cell.category_reference as asset %}
<div class="demarche-topic category-{{slug}}">
  <a class="demarche-topic__visu">
    <div class="demarche-topic__background"
         {% if asset %}style="background-image: url({% asset_url asset size="727x473" crop="center" %})"{% endif %}
            ></div>
    <div class="demarche-topic__title" data-dot="4">{{ title }}</div>
  </a>
  <ul class="demarche-list unstyled">
  {% for form in forms %}
    <li class="demarche-list__item {% if form.authentication_required %}required-authentication{% endif %}
      {% if form.redirection %}is-redirection{% endif %}"><a href="{{ form.url }}tryauth"
     class="demarche-teaser btn-square--bordered--core"><span class="btn-text">{{ form.title }}</span><span class="btn-arrow"></span></a>
  </li>
{% endfor %}
</ul>
</div>
