{% extends 'base.html' %} {% load static custom_filters %} {% block content %}
{{ card_title_second }}
{% if form_readonly %}
{% for field in form_readonly %}

{{ field }}

{% endfor %}

{% endif %}
{% csrf_token %}
{% if reject_reason %} {{ reject_reason }} {% endif %} {% for field in form %}
{% if field.name == 'file' %}
{{ field }} {# #}
{% if form.instance.file %}
{{ form.instance.file.name|cut:"dms/" }}
{{ form.instance.file.size|filesizeformat }} (Uploaded)
{% comment %} {% endcomment %}
{% endif %}
You can attach any relevant supporting documents here.
{% else %} {{ field }} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% if field.errors %}
{{ field.errors }}
{% endif %} {% endif %}
{% endfor %} {{ form.errors }}

{{ cancel_btn|safe }}
{{ tab_2|plural }}
{% for key, value in fields.items %} {% endfor %} {% for item in items %} {% for field in fields %} {% endfor %} {% endfor %}
No.{{ value }}Action
{{ forloop.counter }}{{ item|get_field_value:field|safe }} {% if item.buttons_action %}
{% for value in item.buttons_action %} {{ value|safe }} {% endfor %}
{% else %}--{% endif %}
{% block scripts %} {% endblock scripts %} {% endblock content %}