module StrongPasswordField::FormHelper

Public Instance Methods

strong_password_field(object_name, method, options = {}) click to toggle source
# File lib/strong_password_field/form_helpers.rb, line 3
def strong_password_field(object_name, method, options = {})
  options.merge!(data: { strong_password: true })
  password_field(object_name, method, options)
end