Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
PasswordStrengthMeter ===================== PasswordStrengthMeter is a simple prototype-based plugin to measure the strength of a password. It's inteneded to provide an indicator on the strength of a password, but it's not a predicating how strong the password really is. The purpose of this plugin it to provide an indicator, similar to the indicators on the GMail or Yahoo Mail sign up form, to prevent users from entering too simple passwords like "love" or "money" and to get them to use more complex passwords. Usage ===== password_strength_meter :name, :target :name - name of the password_strength_meter instance :target - the id of the password_field you want to use it for Example ======= Add the following code into your layout: <%= stylesheet_link_tag 'password_strength_meter.css' %> Add the following code into a view of your choice, e.g. sign up form: <%= f.password_field :sign_up_password %><br /> <%= password_strength_meter :sign_up_password_meter, :sign_up_password %> Installation ============ ruby script/plugin install git://github.com/onomojo/password_strength_meter.git Contributors ============ Brian McQuay of Onomojo - http://www.onomojo.com Copyright (c) 2009 Frane Bandov, released under the MIT license