mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
14 lines
409 B
Text
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
|