forked from bofh/fetsite
ADD: Informationsseite:
Models für Themengruppen/Themen/FAQs/Attachments Views für Themengruppen/Themen
This commit is contained in:
12
app/views/themengruppen/_themengruppe.html.erb
Normal file
12
app/views/themengruppen/_themengruppe.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
<h3> <%= link_to themengruppe.title, themengruppe %> </h3>
|
||||
<p>
|
||||
<%=themengruppe.text %>
|
||||
</p>
|
||||
<ul>
|
||||
<% themengruppe.themen.each do |t| %>
|
||||
<li>
|
||||
<%= render t %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user