Project

General

Profile

« Previous | Next » 

Revision 82e47ae0

Added by Amos Benari about 12 years ago

  • ID 82e47ae0f86994702c3a084cc6150250a81034ee

updates UI to bootstrap v2

View differences:

app/views/subnets/index.html.erb
<% title_actions display_link_if_authorized("New Subnet", hash_for_new_subnet_path) %>
<table class="list">
<table class="table table-bordered table-striped">
<tr>
<th><%= sort :name %></th>
<th><%= sort :network %></th>
......
<td><%=subnet.vlanid %></td>
<td><%=subnet.dhcp %></td>
<td align="right">
<%= display_link_if_authorized "Delete", hash_for_subnet_path(:id => subnet, :auth_action => :destroy), :confirm => "Delete #{subnet.name}?", :method => :delete %>
<%= display_delete_if_authorized hash_for_subnet_path(:id => subnet), :confirm => "Delete #{subnet.name}?" %>
</td>
</tr>
<% end %>

Also available in: Unified diff