Project

General

Profile

« Previous | Next » 

Revision d995ecb4

Added by Paul Kelly almost 14 years ago

  • ID d995ecb41af4d4cb394e89a12983dc168fcf97a3

Ensure that all index views and controllers are consistent

Ensures that all controllers use @search in the index method
Ensure that all index views use pagination

View differences:

app/views/operatingsystems/index.html.erb
<tr class="<%= cycle("even", "odd") -%>">
<td><%= link_to h(operatingsystem.to_label), edit_operatingsystem_path(operatingsystem) %></td>
<td><%= h operatingsystem.family %></td>
<td><%= link_to "Destroy", operatingsystem, :confirm => "Delete #{operatingsystem.fullname}?", :method => :delete %></td>
<td align="right">
<%= link_to "Destroy", operatingsystem, :confirm => "Delete #{operatingsystem.fullname}?", :method => :delete %>
</td>
</tr>
<% end %>
</table>

Also available in: Unified diff