Sha256: 61bdceb562dd0fa364528ced9f50211fef07c33e7fa90ecd1c9f746495b34af2
Contents?: true
Size: 686 Bytes
Versions: 5
Compression:
Stored size: 686 Bytes
Contents
= form_tag("#{settings.map_path}/auth/register/identity") do = form_control(:username, identity, label: 'Email', placeholder: 'your@email.com') = form_control(:password, identity, label: 'Password', type: :password) = form_control(:password_confirmation, identity, label: 'Confirm Password', type: :password) - if identity.errors[:password] && identity.errors[:password].include?('is not strong enough') .alert.alert-warning %p Make sure your password is at least 8 characters long, and including the following %ul %li Upper- and lowercase letters %li Numbers %li Special Characters %button.btn.btn-primary{ type: 'submit' } Register
Version data entries
5 entries across 5 versions & 1 rubygems