<% breadcrumb.add @model.description, edit_backend_page_path(@model) %> <% breadcrumb.add t('b.edit') %> <%= render 'backend/breadcrumbs' %> <%= render 'backend/pages/tabs', active: params[:translation_locale].to_sym %> <%= render 'backend/general_form_error', object: @translation %> <%= simple_form_for([:backend, @translation], url: edit_translation_backend_page_path, html: { class: 'no-focus' }) do |f| %> <%= trigger_dirty_inputs_warning %>
<%= t 'b.content' %>
<%= f.input :title %> <%= f.input :subtitle %>
<%= render('backend/content/rows', model: @model, locale: params[:translation_locale]) unless @model.content_disabled? %> <%= render 'backend/seo_form', f: f %> <%= render 'backend/tags', model: @model %>
<%= render 'backend/form_actions', cancel_url: backend_pages_path %> <% end %>