{% extends "combo/wcs/form.html" %}
{% load assets %}
{% block cell-content %}
{% if "image" in cell.extra_css_class %}
{% get_asset "wcs:form:logo:"|add:cell.formdef_reference as asset %}
<a class="big-image-link" href="{{url}}" style="background-image: url({{asset.asset.url}})"
   {% if "target-blank" in cell.extra_css_class %}title="{{ title }} (nouvelle fenêtre)" rel="noopener" target="_blank"{% endif %}>
 <div>
   <strong>{{ title }}</strong>
 </div>
</a>
{% else %}
{{ block.super }}
{% endif %}
{% endblock %}
