{% extends "layout.html" %} {% block layout_content %}

##### Riwayat Versi Surat: {{ surat.nomor }}

# | Tanggal | User | Metadata | Lampiran | Aksi
--- | --- | --- | --- | --- | ---
{% for v in versions %}
{{ forloop.counter }} | {{ v.created|date:"d M Y H:i" }} | {{ v.user_nama|default:"-" }} | {{ v.nomor }} {{ v.perihal }} | {% if v.attachments %} {% for file in v.attachments %} {{ file.name }} {% endfor %} {% else %} Belum ada lampiran {% endif %} | Rollback
{% endfor %}

Kembali ke Detail
{% endblock %}