Revision c5f7180a
Added by Ohad Levy about 14 years ago
- ID c5f7180aaffd6f27203a2e9d9f53b8a606ab6324
app/views/architectures/index.html.erb | ||
---|---|---|
<tr>
|
||
<th>Name</th>
|
||
<th>Operatingsystems</th>
|
||
<th></th><th></th><th></th>
|
||
<th></th>
|
||
</tr>
|
||
<% for architecture in @architectures %>
|
||
<tr class="<%= cycle("even", "odd") -%>">
|
||
<td><%=h architecture.name %></td>
|
||
<td><%= link_to h(architecture.name), edit_architecture_path(architecture) %></td>
|
||
<td><%=h architecture.operatingsystems.to_sentence %></td>
|
||
<td><%= link_to "Show", architecture %></td>
|
||
<td><%= link_to "Edit", edit_architecture_path(architecture) %></td>
|
||
<td><%= link_to "Destroy", architecture, :confirm => 'Are you sure?', :method => :delete %></td>
|
||
</tr>
|
||
<% end %>
|
Also available in: Unified diff
removing show action from arch page too