Skip to content

Commit

Permalink
Fixes #18514 - switch prefix/mask fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Roberts authored and dLobatog committed Mar 1, 2017
1 parent 1d75969 commit 09fae51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/subnets/_fields.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<%= subnet_type_f f %>
<%= text_f f, :network %>
<%= text_f f, :mask, :help_inline => _("Netmask for this subnet"), :wrapper_class => "form-group #{'hide' unless f.object.show_mask?}" %>
<%= text_f f, :cidr, :label => _("Network prefix"), :help_inline => _("Suffix or prefix length for this subnet, e.g. 32") %>
<%= text_f f, :mask, :help_inline => _("Netmask for this subnet"), :wrapper_class => "form-group #{'hide' unless f.object.show_mask?}" %>
<%= text_f f, :gateway, :help_inline => _("Optional: Gateway for this subnet") %>
<%= text_f f, :dns_primary, :help_inline => _("Optional: Primary DNS for this subnet") %>
<%= text_f f, :dns_secondary, :help_inline => _("Optional: Secondary DNS for this subnet") %>
Expand Down

0 comments on commit 09fae51

Please sign in to comment.