From f1da9dfb45ea169e95c456ac6df2d7e48966b255 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Tue, 10 Dec 2024 06:15:12 +0100
Subject: [PATCH] Fix : content editors in all categories

---
 app/views/admin/application/categories/_show.html.erb          | 3 ++-
 .../communication/websites/agenda/categories/show.html.erb     | 1 -
 .../communication/websites/portfolio/categories/show.html.erb  | 1 -
 .../communication/websites/posts/categories/show.html.erb      | 1 -
 4 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/app/views/admin/application/categories/_show.html.erb b/app/views/admin/application/categories/_show.html.erb
index 38374ca2d..6e5c5ba1b 100644
--- a/app/views/admin/application/categories/_show.html.erb
+++ b/app/views/admin/application/categories/_show.html.erb
@@ -29,4 +29,5 @@
     </div>
     <%= render 'admin/application/meta_description/show', about: l10n %>
   </div>
-</div>
\ No newline at end of file
+</div>
+<%= render 'admin/communication/contents/editor', about: @l10n %>
\ No newline at end of file
diff --git a/app/views/admin/communication/websites/agenda/categories/show.html.erb b/app/views/admin/communication/websites/agenda/categories/show.html.erb
index 4c3ecff2b..5f0434a28 100644
--- a/app/views/admin/communication/websites/agenda/categories/show.html.erb
+++ b/app/views/admin/communication/websites/agenda/categories/show.html.erb
@@ -1,7 +1,6 @@
 <% content_for :title, @l10n %>
 
 <%= render 'admin/application/categories/show', category: @category, l10n: @l10n %>
-<%= render 'admin/communication/contents/editor', about: @l10n %>
 
 <% if @events.total_count > 0 %>
   <div class="row">
diff --git a/app/views/admin/communication/websites/portfolio/categories/show.html.erb b/app/views/admin/communication/websites/portfolio/categories/show.html.erb
index 12997cdf5..716954ddf 100644
--- a/app/views/admin/communication/websites/portfolio/categories/show.html.erb
+++ b/app/views/admin/communication/websites/portfolio/categories/show.html.erb
@@ -1,7 +1,6 @@
 <% content_for :title, @l10n %>
 
 <%= render 'admin/application/categories/show', category: @category, l10n: @l10n %>
-<%= render 'admin/communication/contents/editor', about: @l10n %>
 
 <% if @projects.total_count > 0 %>
   <div class="row">
diff --git a/app/views/admin/communication/websites/posts/categories/show.html.erb b/app/views/admin/communication/websites/posts/categories/show.html.erb
index c7d14f681..0a0d858c9 100644
--- a/app/views/admin/communication/websites/posts/categories/show.html.erb
+++ b/app/views/admin/communication/websites/posts/categories/show.html.erb
@@ -1,7 +1,6 @@
 <% content_for :title, @l10n %>
 
 <%= render 'admin/application/categories/show', category: @category, l10n: @l10n %>
-<%= render 'admin/communication/contents/editor', about: @l10n %>
 
 <% if @posts.total_count > 0 %>
   <div class="row">
-- 
GitLab