philomena/lib/philomena_web/templates/admin/badge/user/index.html.slime

26 lines
523 B
Text
Raw Permalink Normal View History

2019-12-23 15:23:25 +01:00
h1
' Users with
=> @badge.title
' badge
2024-06-06 22:28:35 +02:00
- route = fn p -> ~p"/admin/badges/#{@badge}/users?#{p}" end
2019-12-23 15:23:25 +01:00
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @users, route: route, conn: @conn
.block
.block__header
= pagination
2023-11-23 17:07:49 +01:00
2019-12-23 15:23:25 +01:00
.block__content
table.table
thead
tr
th User
tbody
= for user <- @users do
tr
td
2024-06-06 22:28:35 +02:00
= link user.name, to: ~p"/profiles/#{user}"
2019-12-23 15:23:25 +01:00
.block__header.block__header--light
= pagination