GitHub Account angelegt
This commit is contained in:
31
app/views/studien/index.html.erb
Normal file
31
app/views/studien/index.html.erb
Normal file
@@ -0,0 +1,31 @@
|
||||
<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>
|
||||
|
||||
<% end %>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
|
||||
<%= link_to I18n.t("studien.new"), new_studium_path %>
|
||||
Reference in New Issue
Block a user