{% load filters %}

{% with option.instance|id_for_label:"category" as id_for_label %}
  {% include "components/form/checkbox.html" with name=option.name value=option.value checked=option.selected id=id_for_label only %}
{% endwith %}

{% if option.instance.favicon %}
  <img class="favicon" src="{{ option.instance.favicon }}" />
{% else %}
  <i class="fas fa-image"></i>
{% endif %}

<span>{{ option.label }}</span>
