philomena/lib/philomena_web/templates/image/source_change/index.html.heex

11 lines
429 B
Text
Raw Normal View History

2024-06-02 05:50:36 +02:00
<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) %>