Fix bug.
This commit is contained in:
parent
654500a87d
commit
973c9fae74
|
@ -31,7 +31,7 @@
|
||||||
<div style="clear: both;"></div>
|
<div style="clear: both;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="append_port_block">
|
<div id="append_port_block">
|
||||||
<% @site.port[1..-1].each do |port| %>
|
<% @site.port[1..-1].to_a.each do |port| %>
|
||||||
<div class="port_block">
|
<div class="port_block">
|
||||||
<span class="remove_btn">X</span>
|
<span class="remove_btn">X</span>
|
||||||
<%= number_field_tag("site_construct[port][]",port, :min => 1, :id => nil) %>
|
<%= number_field_tag("site_construct[port][]",port, :min => 1, :id => nil) %>
|
||||||
|
|
Loading…
Reference in New Issue