From 706a695ab0a90cec5fc70841570e79fe96e174e6 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 2 Aug 2026 19:31:48 +0200 Subject: Add #edit_grid class to translation editor so that CSS rules will match --- app/views/page_translations/edit.html.erb | 52 ++++++++++++++++--------------- 1 file changed, 27 insertions(+), 25 deletions(-) (limited to 'app/views/page_translations/edit.html.erb') diff --git a/app/views/page_translations/edit.html.erb b/app/views/page_translations/edit.html.erb index fb879568..20ec1c9a 100644 --- a/app/views/page_translations/edit.html.erb +++ b/app/views/page_translations/edit.html.erb @@ -29,35 +29,37 @@ <%= 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| %> -
-
<%= Page.human_attribute_name(:title) %>
-
- <%= text_field_tag "page[title]", @translation&.title %> -
+
+
+
<%= Page.human_attribute_name(:title) %>
+
+ <%= text_field_tag "page[title]", @translation&.title %> +
-
<%= Page.human_attribute_name(:abstract) %>
-
- <%= text_area_tag "page[abstract]", @translation&.abstract %> -
+
<%= Page.human_attribute_name(:abstract) %>
+
+ <%= text_area_tag "page[abstract]", @translation&.abstract %> +
-
<%= Page.human_attribute_name(:body) %>
-
- - -
+
<%= Page.human_attribute_name(:body) %>
+
+ + +
-
-
-
- <%= text_area_tag "page[body]", @translation&.body, :class => 'with_editor' %> +
+
+
+ <%= text_area_tag "page[body]", @translation&.body, :class => 'with_editor' %> +
+
+ -
-
-- cgit v1.3