MyHome/primary/templates/penghuni/index.html

18 lines
412 B
HTML
Raw Normal View History

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