Fix Gremien Überschrift ohne Beschreibungen

This commit is contained in:
Andreas Deutschmann
2014-10-19 21:57:51 +02:00
parent 309d10bc39
commit d321123d49

View File

@@ -1,6 +1,11 @@
<%= render 'fetprofiles/tabs' %>
<div class="content-wrap content-column">
<% if params[:filter].nil? %>
<h1>Alle Gremien</h1>
<% end %>
<% unless params[:filter].nil? %>
<h1><%= Gremium::FILTER[params[:filter].to_i] %></h1>
@@ -13,7 +18,6 @@
<li>
<%= link_to g do %>
<h2><%= g.name %></h2>
<p><%= g.desc.html_safe %></p>
<% end %>
</li>
<% end %>