<%= image_tag @picture.url || "alchemy/missing-image.svg" %>
<% if @previous %>
<%= link_to alchemy.admin_picture_path(
id: @previous,
q: params[:q],
page: params[:page],
tagged_with: params[:tagged_with],
size: params[:size],
filter: params[:filter]
),
class: "previous-picture",
remote: true do %>
<% end %>
<% end %>
<% if @next %>
<%= link_to alchemy.admin_picture_path(
id: @next,
q: params[:q],
page: params[:page],
tagged_with: params[:tagged_with],
size: params[:size],
filter: params[:filter]
),
class: "next-picture",
remote: true do %>
<% end %>
<% end %>
<%= render 'form' %>
<%= render 'infos' %>