This commit is contained in:
Andreas Stephanides
2013-03-18 23:07:41 +01:00
parent 922acf869a
commit a712fc70f4
5 changed files with 14 additions and 7 deletions

View File

@@ -11,4 +11,4 @@
<%= f.action :submit, :as => :input %>
<% end %>
<% end %>
<%= tinymce %>
<%= tinymce %>

View File

@@ -1,7 +1,9 @@
<h1>Listing moduls</h1>
<h1>Alle Module der Elektrotechnik</h1>
<table>
<table class="table" >
<tr>
<th>Studium</th>
<th>Modulgruppe</th>
<th>Name</th>
<th>Desc</th>
<th></th>
@@ -11,6 +13,10 @@
<% @moduls.each do |modul| %>
<tr>
<td><%= %></td>
<td><%= if !modul.modulgruppen.first.nil?
modul.modulgruppen.first[:name]
end %> </td>
<td><%= modul.name %></td>
<td><%= modul.desc %></td>
<td><%= link_to 'Show', modul_path(modul) %></td>