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/new.html.erb | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'app/views/nodes/new.html.erb') diff --git a/app/views/nodes/new.html.erb b/app/views/nodes/new.html.erb index 1303e9ed..f9efbf50 100644 --- a/app/views/nodes/new.html.erb +++ b/app/views/nodes/new.html.erb @@ -9,8 +9,8 @@ <%= form_tag nodes_path do %>
-
Type
-
+
Type
+
<% CccConventions::NODE_KINDS.each do |kind, config| %>

<%= radio_button_tag :kind, kind, kind == @selected_kind, @@ -23,23 +23,23 @@ <% end %>

-
Title
-
+
Title
+
<%= text_field_tag :title, nil, required: true %> A URL slug will be generated from this automatically. You can review or adjust it afterward under the "metadata" section's Slug field.
"> -
Parent
-
+
Parent
+
<%= text_field_tag :parent_search_term, @parent&.title %> <%= hidden_field_tag :parent_id, @parent&.id, data: { unique_name: @parent&.computed_unique_name } %>
-
Resulting path
-
+
Resulting path
+
<% if @attach_asset %> -
attachment
-
+
attachment
+
  • <% if @attach_asset.has_variant?(:thumb) %> @@ -66,8 +66,8 @@
<% end %> -
-
<%= submit_tag "Create" %>
+
+
<%= submit_tag "Create" %>
<% end %> -- cgit v1.3