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

10 lines
395 B
Text
Raw Permalink Normal View History

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