Revision 3595a70c
Added by Joseph Magen almost 11 years ago
- ID 3595a70c5fa8f59ae48cd67cf009dbc839a14861
app/helpers/layout_helper.rb | ||
---|---|---|
def password_f(f, attr, options = {})
|
||
field(f, attr, options) do
|
||
options[:autocomplete] ||= "off"
|
||
options[:placeholder] ||= password_placeholder(f.object)
|
||
f.password_field attr, options
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #2484 - host, hostgroup, and BMC passwords were overwritten as blank