Conflicts: app/assets/stylesheets/formtastic-changes.css.scss app/controllers/beispiele_controller.rb app/views/studien/_form.html.erb config/locales/de.yml config/routes.rb
39 lines
817 B
Plaintext
Executable File
39 lines
817 B
Plaintext
Executable File
<div class="container-fluid">
|
|
<%= render 'studien/tabs'%>
|
|
<p id="notice"><%= notice %></p>
|
|
<p>
|
|
|
|
<h2><%= @lva.lvanr %><%= @lva.name %> <%= @lva.ects %> ECTS/ <%= @lva.stunden %> Std</h2>
|
|
|
|
</p>
|
|
|
|
<p><h4>Beschreibung</h4>
|
|
<%= @lva.desc %>
|
|
|
|
<%= link_to "Beispiel neu" , new_beispiel_path(:lva_id=>@lva.id) %>
|
|
</p>
|
|
<div class="row-fluid">
|
|
<h4>Beispiele</h4>
|
|
<% @lva.beispiele.each do |b|%>
|
|
|
|
<%= render b%>
|
|
|
|
<% end %>
|
|
</div>
|
|
<h4>Module</h4>
|
|
<ul>
|
|
<% @lva.modul.each do |modul| %>
|
|
<li><b><%= link_to modul.name , modul_path(modul)%></b>
|
|
<ul>
|
|
<% modul.modulgruppen.each do |g| %>
|
|
|
|
<li><%= link_to g.studium.name , studium_path(g.studium)%> (<%=link_to g.name, modulgruppe_path(g)%>)</li>
|
|
<% end %>
|
|
</ul>
|
|
</li>
|
|
|
|
<% end %>
|
|
</ul>
|
|
<%= render 'layouts/pretty_toolbar' %>
|
|
</div>
|