{% extends "base.html" %} {% block title %}Buku{% endblock %} {% block content %}

Katalog Buku

{% if user.role == 'admin' %}+ Buku{% endif %}
{% for b in buku %} {% else %}{% endfor %}
ISBNJudulPenulisKategoriTahunStok
{{ b.isbn }}{{ b.judul }} {{ b.penulis }}{{ b.kategori }}{{ b.tahun or '-' }} {% if b.stok == 0 %}habis{% else %}{{ b.stok }}{% endif %}
Tidak ada buku yang cocok
{% endblock %}