philomena/lib/philomena_web/templates/profile/source_change/index.html.slime

9 lines
383 B
Text
Raw Permalink Normal View History

2019-12-04 23:56:13 +01:00
h1
' Source changes by
a href=~p"/profiles/#{@user}"
2019-12-04 23:56:13 +01:00
= @user.name
- route = fn p -> ~p"/profiles/#{@user}/source_changes?#{p}" end
2019-12-04 23:56:13 +01:00
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @source_changes, route: route, conn: @conn
= render PhilomenaWeb.SourceChangeView, "index.html", conn: @conn, source_changes: @source_changes, pagination: pagination