philomena/lib/philomena_web/templates/profile/source_change/index.html.heex
2024-05-04 17:09:20 -04:00

9 lines
419 B
Text

<h1>
Source changes by
<a href={~p"/profiles/#{@user}"}>
<%= @user.name %>
</a>
</h1>
<% route = fn p -> ~p"/profiles/#{@user}/source_changes?#{p}" end %>
<% 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) %>