Story#109070142 - Nameservers - no registrar validation for now

This commit is contained in:
Vladimir Krylov 2015-11-30 21:43:25 +02:00
parent c2b5b24975
commit 2eeb91a5e8

View file

@ -18,13 +18,13 @@
= label_tag "domain_nameservers_attributes_#{k}_ipv4", t(:ipv4)
.col-md-7
= text_field_tag "domain[nameservers_attributes][#{k}][ipv4]", v['ipv4'],
class: 'form-control', ipv4: true
class: 'form-control'#, ipv4: true
.form-group
.col-md-3.control-label
= label_tag "domain_nameservers_attributes_#{k}_ipv6", t(:ipv6)
.col-md-7
= text_field_tag "domain[nameservers_attributes][#{k}][ipv6]", v['ipv6'],
class: 'form-control', ipv6: true
class: 'form-control'#, ipv6: true
:coffee
$("#nameservers").nestedAttributes
bindAddTo: $(".add-nameserver")