{% extends "combo/wcs/forms_of_category.html" %}
{% load assets i18n %}

{% block cell-header %}
<h2 style="background-image: url({% asset_url "wcs:category:logo:"|add:cell.category_reference size="50x50" %})">{{ title }}</h2>
{% get_asset "wcs:category:picture:"|add:cell.category_reference as asset %}
{% if asset %}
  <picture>
  <img src="{% asset_url asset size="660x360" crop="center" upscale=False %}" alt="">
  </picture>
{% endif %}
{% if description %}
<div class="intro">
{{ description|safe }}
</div>
{% endif %}
{% endblock %}
