MyHome/primary/templates/item/index.html

18 lines
401 B
HTML
Raw Permalink Normal View History

2020-01-15 14:09:07 +00:00
{% extends "layouts/base.html" %}
{% block subtitle %}
<h1 class="text-4xl">Daftar Item</h1>
{% endblock %}
{% block content %}
<div>
{% for entry in items %}
<div class="px-4 py-4 flex flex-row justify-start items-center hover:bg-blue-300">
{{ entry.NamaItem }}
<br/>
di {{ entry.Ruang.NamaRuang }}, {{ entry.Ruang.Rumah.NamaRumah }}
</div>
{% endfor %}
</div>
{% endblock %}