From 50ca5e40f461290a2db7452b95f80dd3188dba1d Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 24 Jul 2026 18:04:56 +0200 Subject: Rename layout classes to what they actually do --- app/views/nodes/edit.html.erb | 42 ++++++------- app/views/nodes/new.html.erb | 24 ++++---- app/views/nodes/show.html.erb | 138 +++++++++++++++++++++--------------------- 3 files changed, 102 insertions(+), 102 deletions(-) (limited to 'app/views/nodes') diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index 55397d42..4d58e62c 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb @@ -25,7 +25,7 @@ <%= link_to "Preview ↗", preview_page_path(@page), target: "_blank", rel: "noopener", class: "preview_link" %> -
+
<%= form_for(@node, html: { data: { autosave_url: autosave_node_path(@node), show_url: node_path(@node) } }) do |f| %> <% if @node.errors.any? %>
@@ -37,14 +37,14 @@
-
Title
-
<%= d.text_field :title %>
+
Title
+
<%= d.text_field :title %>
-
Abstract
-
<%= d.text_area :abstract %>
+
Abstract
+
<%= d.text_area :abstract %>
-
Attachments
-
+
Attachments
+