From c96fbbb701ec97f9f6c69ca0d51ed3cd895b260e Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sun, 28 Jun 2026 04:56:08 +0200 Subject: Fix tag list rendering in node editor tag_list.to_s produces space-separated output which acts-as-taggable-on 13.0.0 (comma delimiter only) treats as a single tag on re-save. Use join(', ') to render comma-separated tags in the input field. --- app/views/nodes/edit.html.erb | 2 +- public/stylesheets/ccc.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index b45c700..498fa1f 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb @@ -41,7 +41,7 @@ <%= fields_for @draft do |d| %>
Tags - comma seperated
-
<%= text_field_tag :tag_list, @draft.tag_list %>
+
<%= text_field_tag :tag_list, @draft.tag_list.join(', ') %>
Publish at
<%= d.datetime_select :published_at, :value => @draft.published_at %>
diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index c4530fa..30eb8dd 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -121,6 +121,11 @@ div#center_column .article_partial h2.headline { border-top: 2px solid #cccccc; } +/* except for erfa list */ +div#center_column .chapter_partial h2.headline { + border-top: none; +} + div.article_partial h2 a { text-decoration: none; } -- cgit v1.3