Project

General

Profile

« Previous | Next » 

Revision fe3d8f82

Added by Ohad Levy over 12 years ago

  • ID fe3d8f828cf4e73dd51e4809a1400c020acd5db3

fixes #1469 - vlan field missing in subnets

View differences:

app/views/subnets/index.html.erb
<th><%= sort :name %></th>
<th><%= sort :network %></th>
<th><%= sort :domains %></th>
<th><%= sort :vlanid, :as => 'VLAN' %></th>
<th>DHCP Proxy</th>
<th></th>
</tr>
......
<td><%=link_to_if_authorized h(subnet.name), hash_for_edit_subnet_path(:id => subnet)%></td>
<td><%=subnet.to_label%></td>
<td><%=subnet.domains.to_sentence %></td>
<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 %>

Also available in: Unified diff