philomena/lib/philomena_web/templates/admin/donation/index.html.slime
2019-12-16 22:24:40 -05:00

14 lines
409 B
Text

- route = fn p -> Routes.admin_donation_path(@conn, :index, p) end
- 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