From cb800d0f38e65812d365f7eab49ff4f5b24f6c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 10 Jul 2021 18:12:59 +0200 Subject: [PATCH] Remove recommendations editing a topic The same way we don't show recommendations when editing a proposal or a debate. --- app/views/topics/_recommendations.html.erb | 7 ------- app/views/topics/edit.html.erb | 4 ---- app/views/topics/new.html.erb | 8 +++++++- 3 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 app/views/topics/_recommendations.html.erb diff --git a/app/views/topics/_recommendations.html.erb b/app/views/topics/_recommendations.html.erb deleted file mode 100644 index ff86b877b..000000000 --- a/app/views/topics/_recommendations.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -

<%= t("community.topic.sidebar.recommendations_title") %>

- - diff --git a/app/views/topics/edit.html.erb b/app/views/topics/edit.html.erb index e305acd13..699202e20 100644 --- a/app/views/topics/edit.html.erb +++ b/app/views/topics/edit.html.erb @@ -5,8 +5,4 @@

<%= t("community.topic.edit") %>

<%= render "form" %> - -
- <%= render "recommendations" %> -
diff --git a/app/views/topics/new.html.erb b/app/views/topics/new.html.erb index bf13b1294..041fe6903 100644 --- a/app/views/topics/new.html.erb +++ b/app/views/topics/new.html.erb @@ -7,6 +7,12 @@
- <%= render "recommendations" %> +

<%= t("community.topic.sidebar.recommendations_title") %>

+ +