Sha256: 038b2d93361f8e542dcf3eb8b98f58edd8625dd009bb009bc4aaf26cf9650d3c
Contents?: true
Size: 986 Bytes
Versions: 3
Compression:
Stored size: 986 Bytes
Contents
module PasswordHelper def password_strength_container content_tag(:div, '', class: 'password_strength_container', data: { lib_script_path: asset_path('password_strength.js'), min_score: 4, password_strength_advice: t('password_strength.advice'), score_descriptions: t([:s0, :s1, :s2, :s3, :s4], scope: 'password_strength.score_descriptions'), user_inputs: [], triggerwords: [ # Eingabe-Regexp, Antwort des Systems, Tooltip ['abend lustig bowle lecker', 'Selber ausdenken!', ''], ['abendlustigbowlelecker', 'Selber ausdenken!', ''], ['p4ssw0rt!', 'Schlechte Idee!', ''], ['correcthorsebatterystaple', 'Plagiat!! :)', "Whoa there, don't take advice from a webcomic too literally"], ['correct horse battery staple', 'Gute Idee :/', "Whoa there, don't take advice from a webcomic too literally"], ['Tr0ub4do[u]?r&3','Lieber nochmal nachdenken',''] ] }).html_safe end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
your_platform-1.0.1 | app/helpers/password_helper.rb |
your_platform-1.0.0 | app/helpers/password_helper.rb |
your_platform-0.0.2 | app/helpers/password_helper.rb |