philomena/lib/philomena_web/templates/admin/badge/user/index.html.slime
2024-06-06 22:28:35 +02:00

25 lines
523 B
Text

h1
' Users with
=> @badge.title
' badge
- route = fn p -> ~p"/admin/badges/#{@badge}/users?#{p}" end
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @users, route: route, conn: @conn
.block
.block__header
= pagination
.block__content
table.table
thead
tr
th User
tbody
= for user <- @users do
tr
td
= link user.name, to: ~p"/profiles/#{user}"
.block__header.block__header--light
= pagination