{% load urlize_quoted_links %}

{{ resource_name }}

{{ resource_doc }}

{% autoescape off %}{{ status }} {{ reason }}
{% for key, val in headers.items %}{{ key }}: {{ val|urlize_quoted_links }}
{% endfor %}
{{ content|urlize_quoted_links }}{% endautoescape %}    
{% if 'read' in resource.allowed_operations %}
Read
{% endif %} {% if 'create' in resource.allowed_operations %}
{% csrf_token %} {{ create_form.as_p }}
{% endif %} {% if 'update' in resource.allowed_operations %}
{% csrf_token %} {{ create_form.as_p }}
{% endif %} {% if 'delete' in resource.allowed_operations %}
{% csrf_token %}
{% endif %}