Sha256: 4ebaf66d6d64471fde4ee6d5b6d91ba124fea0f0b5b8ce38c12cebca86cb3ae3

Contents?: true

Size: 953 Bytes

Versions: 5

Compression:

Stored size: 953 Bytes

Contents

.row
  .col-md-2
  .col-md-8
    .panel.panel-default
      .panel-body
        = edit_form_tag("#{settings.map_path}/auth/reset-password") do
          %input{ name: 'token', value: params[:token], type: 'hidden' }
          - 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
          = form_control(:password, identity, type: 'password', placeholder: 'Your password', group: 'identity')
          = form_control(:password_confirmation, identity, type: 'password', label: 'Confirm Password', placeholder: 'Confirm your password', group: 'identity')
          %button.btn.btn-primary{ type: 'submit' }
            Reset Password
  .col-md-2

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ditty-0.8.0 views/auth/reset_password.haml
ditty-0.7.2 views/auth/reset_password.haml
ditty-0.7.1 views/auth/reset_password.haml
ditty-0.7.0 views/auth/reset_password.haml
ditty-0.7.0.pre.rc1 views/auth/reset_password.haml