{% load rules %} {% has_perm 'groups.change' user group as can_edit %}

Logo

{% if not group.logo %} {% if can_edit %} Logo hochladen {% endif %} {% else %}
{{ group }}
{% endif %} {% if group.logo and can_edit %} {% endif %}