{% load i18n static cosinnus_tags %} {% captureas button_classes %}{% if full_view %}btn btn-default w100 {% if not no_indent %}indented{% endif %}{% else %}btn btn-default dashboard-appwidget-contentline-indented{% endif %}{% endcaptureas %}
{% with comments=note.comments.all %}
{% for comment in comments %}
{% endfor %} {% if user|can_create_objects_in:note.group %} {% comment %} Force the URL of the POST to remain on this site because of CSRF checks, but force the cosinnus group resolution to check the group of this portal {% endcomment %}
{% csrf_token %}{% cosinnus_cross_portal_token note.group.portal %}
{% endif %}
{% endwith %}