{% extends "layout.html" %} {% load static %} {% load common %} {% block layout_script %} {% include 'extra/preview.html' %} {% endblock %} {% block layout_content %}
{% for i,attr in attributes.items %} {% if attr.name and attr.type %} {% endif %} {% endfor %} {% for attachment in attachments %} {% endfor %}
SKPD:{{ skpd.urai|default:"(kosong)" }}
Tahun:{{ item.tahun.tahun }}
Judul:{{ item.judul }}
Deskripsi:{{ item.deskripsi|linebreaksbr }}
{{ attr.name }} : {% for k,v in item.attributes.items %} {% if k == i %} {% if attr.type == 'date' %} {{ v|stringDateYMD }} {% elif attr.type == 'text_max' %} {{ v.strip|linebreaksbr }} {% else %} {{ v }} {% endif %} {% endif %} {% endfor %}
Lampiran : {{ forloop.counter }}. {{ attachment.name }}   {% if status_konten == 'public' %} {% endif %}
Waktu Pembuatan: {{ item.created }}
Tags: {% with tags=item.contenttag_set.all %} {% if tags %} {% for tag in tags %} {{ tag.tag.name }} {% endfor %} {% else %} (tidak ada tag) {% endif %} {% endwith %}
Dibuat Oleh : {{ user_yg_input }}
Kembali {% if allow == 'yes' %} Edit {% endif %} Riwayat
{% endblock %}