Studienliste keine Tabelle mehr
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<%= @modulgruppe.name %>
|
||||
</h1>
|
||||
<p>
|
||||
<b><%= link_to "Studium: "+@modulgruppe.studium.name, studium_path(@modulgruppe.studium) %></b>
|
||||
<!-- <b><%= link_to "Studium: "+@modulgruppe.studium.name, studium_path(@modulgruppe.studium) %></b>-->
|
||||
|
||||
</p><p>
|
||||
<b><%= I18n.t "modulgruppe.typ"%>:</b>
|
||||
|
||||
@@ -1,30 +1,13 @@
|
||||
<h1><%= I18n.t("studien.list") %></h1>
|
||||
|
||||
<table class="table-striped">
|
||||
<tr>
|
||||
<th>Zahl</th>
|
||||
<th>Name</th>
|
||||
<th>Desc</th>
|
||||
<th>Typ</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
<% @studien.each do |studium| %>
|
||||
|
||||
<tr>
|
||||
<td><%= studium.zahl %></td>
|
||||
<td><%= studium.name %></td>
|
||||
|
||||
<td><%= studium.typ %></td>
|
||||
<td><%= link_to 'Show', studium_path(studium) %></td>
|
||||
<td><%= link_to 'Edit', edit_studium_path(studium) %></td>
|
||||
<td><%= link_to 'Destroy', studium, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
</tr>
|
||||
<h2><%= link_to studium.zahl + " "+ studium.typ+" " + studium.name, studium_path(studium) %></h2>
|
||||
|
||||
<% end %>
|
||||
</table>
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<span class="span12">
|
||||
<%= link_to '<i class="icon-plus-sign"></i>'.html_safe+I18n.t("studien.newmodulgroup"), new_studium_modulgruppe_path(@studium),:class=>"btn" %> |
|
||||
<%= link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_studium_path(@studium) ,:class=>"btn"%>
|
||||
<%= link_to 'Destroy', @studium, method: :delete, data: { confirm: 'Are you sure?' } %>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user