Revision 452d6329
Added by Paul Kelly almost 14 years ago
- ID 452d63292a366794bedff9a16a1f7364786b52c2
app/views/operatingsystems/index.html.erb | ||
---|---|---|
<% for operatingsystem in @operatingsystems %>
|
||
<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 => 'Are you sure?', :method => :delete %></td>
|
||
<td><%= h operatingsystem.family %></td>
|
||
<td><%= link_to "Destroy", operatingsystem, :confirm => "Delete #{operatingsystem.fullname}?", :method => :delete %></td>
|
||
</tr>
|
||
<% end %>
|
||
</table>
|
Also available in: Unified diff
Fixes #248 - Generalise tab management and search facility
The search facility is now available from all controllers.
The search bar is only displayed if there is a partial
<controller_name>/_search_line.html.erb available.This partial also
describes and implements the possible search parameters for this controller
Active tab management is also improved
The appearence of the searchbar and other page elements has also been improved.