diff --git a/app/views/communities/_participant.html.erb b/app/views/communities/_participant.html.erb
new file mode 100644
index 000000000..5e4f02900
--- /dev/null
+++ b/app/views/communities/_participant.html.erb
@@ -0,0 +1,22 @@
+
+
+
diff --git a/app/views/communities/_participants.html.erb b/app/views/communities/_participants.html.erb
index 931ebf105..a153ec624 100644
--- a/app/views/communities/_participants.html.erb
+++ b/app/views/communities/_participants.html.erb
@@ -14,28 +14,7 @@
<% @participants.each do |participant| %>
-
-
-
+ <%= render 'participant', participant: participant %>
<% end %>
diff --git a/app/views/topics/_informative_text.html.erb b/app/views/topics/_informative_text.html.erb
new file mode 100644
index 000000000..aeb5ad773
--- /dev/null
+++ b/app/views/topics/_informative_text.html.erb
@@ -0,0 +1,11 @@
+<%= t("community.show.create_first_community_topic.first_theme") %>
+
+<% if user_signed_in? %>
+ <%= t("community.show.create_first_community_topic.first_theme_not_logged_in") %>
+<% else %>
+
+ <%= t("community.show.create_first_community_topic.sub_first_theme",
+ link: link_to(t("community.show.create_first_community_topic.sign_link",
+ org_name: setting['org_name']), new_user_session_path)).html_safe %>
+
+<% end %>
diff --git a/app/views/topics/_topic.html.erb b/app/views/topics/_topic.html.erb
new file mode 100644
index 000000000..fe225d501
--- /dev/null
+++ b/app/views/topics/_topic.html.erb
@@ -0,0 +1,25 @@
+
+
+
+
+
<%= link_to topic.title, community_topic_path(@community, topic) %>
+
+
+
+ <%= link_to t("community.show.topic.comments", count: topic.comments_count), community_topic_path(@community, topic, anchor: "comments") %>
+ •
+ <%= I18n.l topic.created_at.to_date %>
+ •
+ <%= topic.author.name %>
+
+
+
+
+
+ <% if topic.author == current_user %>
+ <%= link_to t("community.show.topic.edit_button"), edit_community_topic_path(@community.id, topic), class: 'button small hollow' %>
+ <%= link_to t("community.show.topic.destroy_button"), community_topic_path(@community.id, topic), method: :delete, class: 'button hollow alert small' %>
+ <% end %>
+
+
+
diff --git a/app/views/topics/_topics.html.erb b/app/views/topics/_topics.html.erb
index b5080a61f..42fa4f319 100644
--- a/app/views/topics/_topics.html.erb
+++ b/app/views/topics/_topics.html.erb
@@ -1,49 +1,13 @@
<% if topics.any? %>
-
<%= render 'shared/wide_order_selector', i18n_namespace: "comments" %>
-
- <% topics.each do |topic| %>
-
-
-
-
-
<%= link_to topic.title, community_topic_path(@community, topic) %>
-
-
-
- <%= link_to t("community.show.topic.comments", count: topic.comments_count), community_topic_path(@community, topic, anchor: "comments") %>
- •
- <%= I18n.l topic.created_at.to_date %>
- •
- <%= topic.author.name %>
-
-
-
-
-
- <% if topic.author == current_user %>
- <%= link_to t("community.show.topic.edit_button"), edit_community_topic_path(@community.id, topic), class: 'button small hollow' %>
- <%= link_to t("community.show.topic.destroy_button"), community_topic_path(@community.id, topic), method: :delete, class: 'button hollow alert small' %>
- <% end %>
-
-
-
-
- <% end %>
-
<% else %>
- <%= t("community.show.create_first_community_topic.first_theme") %>
- <% if user_signed_in? %>
- <%= t("community.show.create_first_community_topic.first_theme_not_logged_in") %>
- <% else %>
-
- <%= t("community.show.create_first_community_topic.sub_first_theme",
- link: link_to(t("community.show.create_first_community_topic.sign_link",
- org_name: setting['org_name']), new_user_session_path)).html_safe %>
-
- <% end %>
+ <%= render 'topics/informative_text', topics: topics %>
+<% end %>
+
+<% topics.each do |topic| %>
+ <%= render 'topics/topic', topic: topic %>
<% end %>