Revision d9056afe
Added by Greg Sutcliffe over 10 years ago
app/views/architectures/index.html.erb | ||
---|---|---|
<% for architecture in @architectures %>
|
||
<tr>
|
||
<td class='col-md-3'><%= link_to_if_authorized(h(architecture.name), hash_for_edit_architecture_path(:id => architecture)) %></td>
|
||
<td><%=h architecture.operatingsystems.to_sentence %></td>
|
||
<td><%=h architecture.operatingsystems.map(&:to_label).to_sentence %></td>
|
||
<td align="right">
|
||
<%= display_delete_if_authorized hash_for_architecture_path(:id => architecture.name), :confirm => "Delete #{architecture.name}?" %>
|
||
</td>
|
Also available in: Unified diff
Fixes #4014 - Correctly use to_label when showing OSs