<% if @post.presenter.has_nav_links?(self) %>
<%= render "posts/partials/show/nav_links", :post => @post, :position => "top" %>
<% end %>
<%= render "posts/partials/show/notices", :post => @post %>
>
<%= @post.presenter.image_html(self) %>
<%= button_to "Favorite", favorites_path(post_id: @post.id), remote: true, method: :post, form: {id: "add-fav-button"}, class: "ui-button ui-widget ui-corner-all gradient", data: {disable_with: "Favoriting..."} %>
<%= button_to "Unfavorite", favorite_path(@post), remote: true, method: :delete, form: {id: "remove-fav-button"}, class: "ui-button ui-widget ui-corner-all gradient", data: {disable_with: "Unfavoriting..."} %>
<%= form_tag(mark_as_translated_post_path(@post), :class => "simple_form", :method => :put) do |f| %>
<%= hidden_field_tag :tags_query, params[:tags] %>
<%= hidden_field_tag :pool_id, params[:pool_id] %>
<%= submit_tag "Mark as translated" %>
<% end %>
<% if @post.artist_commentary && @post.artist_commentary.any_field_present? %>
<% end %>
<% if @post.presenter.has_nav_links?(self) %>
<%= render "posts/partials/show/nav_links", :post => @post, :position => "bottom" %>
<% end %>
<% if RecommenderService.available_for_post?(@post) %>
<% end %>
<% if @post.has_notes? %>
<% cache("p/#{@post.id}/n/#{@post.last_noted_at.to_i}") do %>
<%= render :partial => "notes/note", :collection => @post.notes.active %>
<% end %>
<% end %>
<% if CurrentUser.is_member? && @post.visible? %>
<%= render "posts/partials/show/edit", :post => @post %>
<% end %>
<%= render "posts/partials/show/share", :post => @post %>
<%= render "post_flags/new", post_flag: @post.flags.new %>
<%= render "post_appeals/new", post_appeal: @post.appeals.new %>
<%= render "post_replacements/new", post_replacement: @post.replacements.new %>
<%= render "pool_elements/new" %>
<%= render "favorite_groups/add_to_favgroup_dialog", :post => @post %>
<%= post_view_count_js %>
<% content_for(:page_title) do %>
<%= @post.presenter.humanized_essential_tag_string %> - <%= Danbooru.config.app_name %>
<% end %>
<% content_for(:html_header) do %>
Before commenting, read the <%= link_to "how to comment guide", wiki_pages_path(:search => {:title => "howto:comment"}) %>.
<% end %> <%= render "comments/partials/index/list", :comments => @post.comments.visible(CurrentUser.user), :post => @post, :show_header => false %>