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

{% block cell-header %}
  {% get_asset "wcs:category:picture:"|add:cell.category_reference as asset %}
  <h2 class="cell--title{% if asset %} has-picture{% endif %}"
    {% if asset %}style="background-image: url({% asset_url asset size="160x160" crop="center" %})"{% endif %}>
    {{ title }}
  </h2>
  {% if category_description %}
    <div class="intro">
      {{ category_description|safe }}
    </div>
  {% endif %}
{% endblock %}
