philomena/lib/philomena_web/templates/image/source_change/index.html.slime
2019-12-04 17:56:13 -05:00

10 lines
No EOL
429 B
Text

h1
' Source changes for
a href=Routes.image_path(@conn, :show, @image)
| image #
= @image.id
- route = fn p -> Routes.image_source_change_path(@conn, :index, @image, 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