{% extends "index.html"%} {% block content%}
No | Cover Buku | Judul Buku | Nama Penerbit | Nama Penulis | Tahun Rilis | Category Buku | Aksi |
---|---|---|---|---|---|---|---|
{{books.id}} | {%if books.cover %}
|
{{books.judul}} | {{books.penerbit}} | {{books.penulis}} | {{books.tahun_terbit}} | {{books.categorybook.namaCategory}} | Detail {% if request.user.is_authenticated and request.user.role == 'librarian'%} Edit Delete {% endif %} |