{% extends "base.html" %} {% import "components/typography.html" as typography %} {% import "components/dropdown.html" as dropdown %} {% import "components/cards.html" as cards %} {% import "components/inputs.html" as form_helpers %} {% block main %} {% call typography::heading("All users") %} Add User {% endcall %} {% call cards::card() %} {% for user_information in user_with_books_number %} {% endfor %}
# Name Owner book Borrowed book Actions
{{ user_information.user.id }} {{ user_information.user.name }} {{ user_information.owner_book_number }} {{ user_information.borrowed_book_number }} {{ dropdown::crud_dropdown_button(user_information.user, "Actions", "users", show = false) }}
{% endcall %} {% endblock %}