Oberfläche aufräumen...

This commit is contained in:
2014-06-24 13:53:38 +05:30
parent a87990c338
commit 3a8ccdd205
37 changed files with 320 additions and 300 deletions

View File

@@ -1,10 +1,8 @@
<h1><%= I18n.t("modulgruppe.show.title")%></h1>
<% @modulgruppen.sort_by{|n| n[:name]}.each do |modulgruppe| %>
<%= render modulgruppe%>
<% end %>
<br>
<% if !@studium.nil? %>
<%= link_to 'New Modulgruppe', new_studium_modulgruppe_path(@studium) %>
<%= link_to I18n.t("modulgruppe.new"), new_studium_modulgruppe_path(@studium) if can? :new, Modulgruppe %>
<% end%>