philomena/lib/philomena_web/templates/admin/donation/index.html.slime

15 lines
390 B
Text
Raw Permalink Normal View History

- route = fn p -> ~p"/admin/donations?#{p}" end
2019-12-17 04:24:40 +01:00
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @donations, route: route, conn: @conn
h1 Donations
.block
.block__header
= pagination
.block__content
= render PhilomenaWeb.Admin.DonationView, "_table.html", donations: @donations, conn: @conn
.block__header.block__header--light
= pagination