philomena/lib/philomena_web/templates/image/source_change/index.html.heex
2024-06-01 23:50:36 -04:00

10 lines
429 B
Text

<h1>
Source changes for
<a href={~p"/images/#{@image}"}>
image #
<%= @image.id %>
</a>
</h1>
<% route = fn p -> ~p"/images/#{@image}/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) %>