<%= ts("Preview") %>

<%= error_messages_for :chapter %> <% if @work.work_skin && !Preference.disable_work_skin?(params[:style]) %> <% cache("#{@work.work_skin.id}-#{@work.work_skin.updated_at}-work-skin", skip_digest: true) do %> <%= render "skins/skin_style_block", skin: @work.work_skin %> <% end %> <% end %>
<%= render @chapter %>
<%= form_for([@work, @chapter]) do |f| %> <%= render "hidden_fields", form: f %>
<%= ts("Post Chapter") %>

<%= t(".post_notice_html", content_policy_link: link_to(t(".content_policy"), content_path), tos_faq_link: link_to(t(".tos_faq"), tos_faq_path(anchor: "content_faq"))) %>

<% end %>