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/common_parameters/index.html.erb
<tr>
<td><%= link_to h(common_parameter), edit_common_parameter_path(common_parameter)%></td>
<td><%=h common_parameter.value %></td>
<td><%= link_to "Destroy", common_parameter, :confirm => 'Are you sure?', :method => :delete %></td>
<td align=""right>
<%= link_to "Destroy", common_parameter, :confirm => "Delete #{common_parameter.name}?", :method => :delete %>
</td>
</tr>
<% end %>
</table>
<%= page_entries_info @common_parameters %>
<%= will_paginate @common_parameters %>
<p><%= link_to "New Common Parameter", new_common_parameter_path %></p>

Also available in: Unified diff