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

12 lines
373 B
Text

- route = fn p -> ~p"/admin/mod_notes?#{p}" end
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @mod_notes, route: route, conn: @conn
h2 Mod Notes
.block
.block__header
span.block__header__title Mod Notes
= pagination
.block__content
= render PhilomenaWeb.Admin.ModNoteView, "_table.html", mod_notes: @mod_notes, conn: @conn