fix the bug that cannot delete root domain

This commit is contained in:
BOYA,CHIU 2021-07-21 15:16:33 +08:00
parent d3001cd173
commit f44dbfa1a2
1 changed files with 1 additions and 1 deletions

View File

@ -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',