From e411a98b4ebf99fb22f649fdc24d8949d8ef1bcc Mon Sep 17 00:00:00 2001
From: Andreas Stephanides
Date: Mon, 8 Dec 2014 13:35:36 +0100
Subject: [PATCH] Treffen sichtbar
---
app/views/themen/_small.html.erb | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/app/views/themen/_small.html.erb b/app/views/themen/_small.html.erb
index 9fcb36a..2bb4aac 100644
--- a/app/views/themen/_small.html.erb
+++ b/app/views/themen/_small.html.erb
@@ -20,22 +20,21 @@
<%= raw(frage.text) %>
<% end %>
-<% unless small.meetings.empty? %>
Treffen/Sitzungen
<%= link_to "Neues Meeting", new_meeting_path(:parent_id=>small.id, :parent_type=>"Thema"), :remote=>true %>
+<% unless small.meetings.empty? %>
<% small.meetings.each do |m| %>
<%= render m %>
-
-<% end%>
+ <% end%>
<% end%>
-
-<% unless small.documents.empty? %>
Dokumente
<%= link_to "Neues Dokument", new_document_path(:parent_id=>small.id, :parent_type=>"Thema"), :remote=>true %>
+
+<% unless small.documents.empty? %>
<% small.documents.each do |d| %>
<%= render d %>