{% load static widget_tweaks %} {% comment %} include this template like this: {% include 'user/get_attached_objects_incl.html' with div_id="user-interests" input_id="interest-tag" objects_get=user.get_interests url_objects_all="ddusers.get_keyword_tags" url_object_add="ddusers.tag_add" url_object_remove="ddusers.tag_remove" text="user interests" %} {% endcomment %} {% block content %}

Users who have access:

{% for object in oep.objects_get %}
{% csrf_token %} {{ object }}
{% endfor %}

Grant access to users:

{% csrf_token %}
{% comment %}

Type and click the save button to add {{ text }}

{% endcomment %}
{% if error_msg %}

{{ error_msg }}

{% endif %} {% endblock %}