Module: CCS::FrontendHelpers::CCSFrontend::PasswordStrength
- Included in:
- CCS::FrontendHelpers::CCSFrontend
- Defined in:
- lib/ccs/frontend_helpers/ccs_frontend/password_strength.rb
Overview
CCS Password Strength
This helper is used for generating the password strength component from the CCS - Components - Password Strength
Instance Method Summary collapse
-
#ccs_password_strength(password_id, password_strength_tests, **options) ⇒ ActiveSupport::SafeBuffer
Generates the HTML for the CCS Password Strength component.
Instance Method Details
#ccs_password_strength(password_id, password_strength_tests, **options) ⇒ ActiveSupport::SafeBuffer
Generates the HTML for the CCS Password Strength component
22 23 24 |
# File 'lib/ccs/frontend_helpers/ccs_frontend/password_strength.rb', line 22 def ccs_password_strength(password_id, password_strength_tests, **) Components::CCS::PasswordStrength.new(password_id: password_id, password_strength_tests: password_strength_tests, context: self, **).render end |