Sha256: 04c9b376c6a6c9e09ccb542c64bc15221f8752e44d3747a9bb38a459b09601aa

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

.row
  .col-md-2
  .col-md-8
    .panel.panel-default
      .panel-body
        %form.form-horizontal{ method: 'post', action: "#{settings.map_path}/auth/identity/reset" }
          %input{ name: '_method', value: 'PUT', type: 'hidden' }
          %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

1 entries across 1 versions & 1 rubygems

Version Path
ditty-0.6.0 views/identity/reset.haml