|
<% title "Architectures" %>
|
|
<% title_actions display_link_if_authorized("New Architecture", hash_for_new_architecture_path), help_path %>
|
|
|
|
<table class="table table-bordered table-striped">
|
|
<tr>
|
|
<th><%= sort :name %></th>
|
|
<th>Operatingsystems</th>
|
|
<th></th>
|
|
</tr>
|
|
<% for architecture in @architectures %>
|
|
<tr>
|
|
<td><%= link_to_if_authorized(h(architecture.name), hash_for_edit_architecture_path(:id => architecture.name)) %></td>
|
|
<td><%=h architecture.operatingsystems.to_sentence %></td>
|
|
<td align="right">
|
|
<%= display_delete_if_authorized hash_for_architecture_path(:id => architecture.name), :confirm => "Delete #{architecture.name}?" %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
<%= page_entries_info @architectures %>
|
|
<%= will_paginate @architectures %>
|