Editing the <%= @locale.to_s.upcase %> translation of <%= title_for_node(@node) %>.

<%= link_to 'View revision history', node_revisions_path(@node, :locale => @locale) %>

Metadata such as images, tags, template, and author belong to the page as a whole, not to a single translation — change those from the <%= link_to 'default-locale editor', edit_node_path(@node) %>.

<%= button_to 'Unlock + Back', unlock_node_path(@node), method: :put, form: { class: 'button_to state_changing' }, disabled: @node.autosave.present? %> <%= submit_tag "Save #{@locale.to_s.upcase} translation", form: "translation_edit_form" %> <%= submit_tag "Save + Unlock + Exit", form: "translation_edit_form" %> <%= link_to "Preview ↗", preview_page_path(@page, :locale => @locale), target: "_blank", rel: "noopener", class: "preview_link" %>
<%= form_with url: node_translation_path(@node, @locale), method: :patch, local: true, id: "translation_edit_form", data: { autosave_url: autosave_node_translation_path(@node, @locale), show_url: node_path(@node) } do |f| %>
Title
<%= text_field_tag "page[title]", @translation&.title %>
Abstract
<%= text_area_tag "page[abstract]", @translation&.abstract %>
Body
<%= text_area_tag "page[body]", @translation&.body, :class => 'with_editor' %>
<% end %>