foreman/app/views/operatingsystems/index.html.erb @ d995ecb4
66bb73ba | Ohad Levy | <% title "Operating systems" %>
|
|
<table class="list">
|
|||
<tr>
|
|||
<th>Name</th>
|
|||
5f75dccc | Paul Kelly | <th>Family</th>
|
|
66bb73ba | Ohad Levy | <th></th>
|
|
</tr>
|
|||
<% for operatingsystem in @operatingsystems %>
|
|||
92971ae3 | Ohad Levy | <tr class="<%= cycle("even", "odd") -%>">
|
|
<td><%= link_to h(operatingsystem.to_label), edit_operatingsystem_path(operatingsystem) %></td>
|
|||
452d6329 | Paul Kelly | <td><%= h operatingsystem.family %></td>
|
|
d995ecb4 | Paul Kelly | <td align="right">
|
|
<%= link_to "Destroy", operatingsystem, :confirm => "Delete #{operatingsystem.fullname}?", :method => :delete %>
|
|||
</td>
|
|||
66bb73ba | Ohad Levy | </tr>
|
|
<% end %>
|
|||
</table>
|
|||
5f75dccc | Paul Kelly | <%= page_entries_info @operatingsystems %>
|
|
<%= will_paginate @operatingsystems %>
|
|||
<p><%= link_to "New Operatingsystem", new_operatingsystem_path %></p>
|