forked from bofh/fetsite
#114 closed
This commit is contained in:
17
app/views/themengruppen/faqs.html.erb
Normal file
17
app/views/themengruppen/faqs.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<% @themengruppen.each do |tg| %>
|
||||
|
||||
<h2><%= tg.title%></h2>
|
||||
<ul>
|
||||
<% tg.themen.each do |t| %>
|
||||
<li> <%= t.title %>
|
||||
|
||||
<ul>
|
||||
<% t.fragen.each do |f| %>
|
||||
<li><b> <%= f.title %></b><p> <%= f.text %></p></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
@@ -1,4 +1,5 @@
|
||||
<div class="content-wrap content-column">
|
||||
<p> <%= link_to "FAQS", faqs_themengruppen_path %></p>
|
||||
<ul class="unstyled linkbox-list">
|
||||
<li>
|
||||
<% @themengruppen.each do |themengruppe| %>
|
||||
|
||||
Reference in New Issue
Block a user