Signed-off-by: Amos Benari <abenari@redhat.com>
···
--- app/views/hosts/_mac.html.erb | 2 +- app/views/hosts/_unattended.html.erb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)diff --git a/app/views/hosts/_mac.html.erb b/app/views/hosts/_mac.html.erb
index a888a00…c9b029c 100644
— a/app/views/hosts/_mac.html.erb
+++ b/app/views/hosts/_mac.html.erb
@@ -1,3 +1,3 @@
<% fields_for item do |f| -%>
- <%= text_f f, :mac, :label => “MAC”, :help_inline => “MAC address for this host” %>
- <%= text_f f, :mac, :label => “MAC”, :help_inline => “MAC address for this host”, :autocomplete => ‘off’ %>
<% end -%>
diff --git a/app/views/hosts/_unattended.html.erb b/app/views/hosts/_unattended.html.erb
index 2584d1e…1f9ca9f 100644
— a/app/views/hosts/_unattended.html.erb
+++ b/app/views/hosts/_unattended.html.erb
@@ -4,13 +4,13 @@
<%= render 'common/domain_subnet', :item => @host %>
- <%= text_f f, :ip, :help_inline => "IP Address for this host, if DHCP Smart proxy is enabled, this should be auto suggested to you", :label => "IP" %>
+ <%= text_f f, :ip, :help_inline => "IP Address for this host, if DHCP Smart proxy is enabled, this should be auto suggested to you", :label => "IP" , :autocomplete => 'off'%>
<%= render 'mac', :item => @host unless @hypervisor -%>
- <%= text_f f, :sp_name, :help_inline => "BMC interface DNS name", :label => "BMC Name" %>
- <%= text_f f, :sp_ip, :label => "BMC IP" %>
- <%= text_f f, :sp_mac, :label => "BMC MAC" %>
+ <%= text_f f, :sp_name, :help_inline => "BMC interface DNS name", :label => "BMC Name" , :autocomplete => 'off'%>
+ <%= text_f f, :sp_ip, :label => "BMC IP" , :autocomplete => 'off'%>
+ <%= text_f f, :sp_mac, :label => "BMC MAC", :autocomplete => 'off' %>
<%= render 'sp_subnet', :item => @host %>
--
1.7.4.2