Introducing Semesters

This commit is contained in:
Thomas Blazek
2013-07-29 17:47:44 +02:00
parent 747ba5f91a
commit 161598846a
13 changed files with 151 additions and 47 deletions

View File

@@ -0,0 +1,12 @@
<h1><%= @studium.typ %> <%= @studium.name %> (<%= @studium.zahl %>)</h1>
</div>
<%= raw(@studium.desc) %>
<% @studium.semester.each do |sem| %>
<div class="row-fluid">
<h2><%= sem.nummer.to_s + ". Semester" %></h2>
<div class="span<%= sem[:width]%> min-width:13em;">
<%= render :partial=>'lvas/lva_semester', :collection=>sem.lvas, :as=>:lva%>
</div>
<% end %>
</div>