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 %>