Revision d995ecb4
Added by Paul Kelly almost 14 years ago
- ID d995ecb41af4d4cb394e89a12983dc168fcf97a3
app/views/domains/index.html.erb | ||
---|---|---|
<tr class="<%= cycle("even", "odd") -%>">
|
||
<td><%= link_to h(domain.fullname.empty? ? domain.name : domain.fullname), edit_domain_path(domain)%></td>
|
||
<td><%= domain.hosts.size %>
|
||
<td><%= link_to "Destroy", domain, :confirm => 'Are you sure?', :method => :delete %></td>
|
||
<td align="right"> <%= link_to "Destroy", domain, :confirm => 'Are you sure?', :method => :delete %></td>
|
||
</tr>
|
||
<% end %>
|
||
</table>
|
||
<%= page_entries_info @domains %>
|
||
<%= will_paginate @domains %>
|
||
|
||
<p><%= link_to "New Domain", new_domain_path %></p>
|
Also available in: Unified diff
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