This commit is contained in:
2014-12-17 17:01:13 +01:00

View File

@@ -2,7 +2,7 @@
<div class="content-wrap content-column">
<% @themengruppen.each do |tg| %>
<% if can? (:show, tg) %>
<% if can?(:show, tg) %>
<div class="contentbox">
<a name="themengruppe_<%=tg.id.to_s%>"></a>
<h2> <%= tg.title%></h2>
@@ -10,7 +10,8 @@
<% tg.themen.order(:priority).reverse.each do |t| %>
<% if can?(:show, t) %>
<li> <%= t.title %>
<ul> <% t.fragen.each do |f| %>
<ul>
<% t.fragen.each do |f| %>
<li>
<b> <%= f.title %>?</b>
<p> <%= raw(f.text) %></p>