I try to display different content. But something i make false. If i check pid it must show only pid's, if i check pid and title it must show both. In my example i show both, but how i can change it with checkboxes? Thanks.
<form class="fedora" method="post">{% csrf_token %}
<input type="checkbox" name="pid" value="{{obj.pid}}"> pid
<input type="checkbox" checked name="title" value="{{obj.title}}"> title
</form>
...
{% fedora_access %}
<p><a href="{% url 'display' obj.pid %}">
{%if obj.pid %} {{ obj.pid }}|{% endif %}
{{ obj.pid }} | {{ obj.title }}
</a></p>
{% end_fedora_access %}
{{obj.title}}
in a span, and on checkbox click, just show or hide the title – karthikr Jun 13 '13 at 15:01