fix the bug that cannot delete root domain
This commit is contained in:
parent
d3001cd173
commit
f44dbfa1a2
|
@ -70,7 +70,7 @@
|
|||
tp.each_with_index do |domain_name,i| %>
|
||||
<%= '<br>'.html_safe if i !=0 %>
|
||||
<%= text_field_tag "site_server[domain_names][]",domain_name,{:id=>nil,:class=>"domain_name"} %>
|
||||
<% delete_domain_button if i !=0 %>
|
||||
<%= delete_domain_button if i !=0 %>
|
||||
<% end %>
|
||||
</div>
|
||||
<%= f.button "#{t('add')} domain", class: 'btn btn-info',
|
||||
|
|
Loading…
Reference in New Issue