{% extends 'sales/base.html' %} {% load static %} {% load thumbnail %} {% block content%}
Document
Edit
{% if doc_obj.title %}
{{ doc_obj.title }}
{% endif %} {% if doc_obj.status %}
{{ doc_obj.status }}
{% endif %}
{{ doc_obj.created_by }}
{{ doc_obj.created_on_arrow }}
{% with document_users=document.shared_to.all %} {% if document_users %}

{% for user in document_users %} {% if user.profile_pic %} {% thumbnail user.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% empty %} None {% endfor %}
{% endif %} {% endwith %}
{% if doc_obj.document_file %} Download {% endif %}
{% endblock %}