Sha256: ea99fc1fd432a7e2e6f0060fde8ee7c1c66906dfe88a95f571356d47c1f5bf65

Contents?: true

Size: 963 Bytes

Versions: 10

Compression:

Stored size: 963 Bytes

Contents

.row
  .col-lg-4.col-md-6.ml-auto.mr-auto
<%- if options[:metatags] %>
    %h2.text-center= title('Change your password')
<% else -%>
    %h2.text-center Change your password
<%- end %>
    = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
      = f.error_notification
      = f.input :reset_password_token, as: :hidden
      = f.full_error :reset_password_token
      .form-group
        = f.input :password, label: 'New password', required: true, autofocus: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length), input_html: { autocomplete: "new-password" }
        = f.input :password_confirmation, label: 'Confirm your new password', required: true, input_html: { autocomplete: 'new-password' }
      .form-group
        = f.button :submit, 'Change my password', class: 'btn btn-primary btn-block btn-lg'
    .text-center
      = render 'devise/shared/links'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bootstrap_views_generator-0.1.16 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
bootstrap_views_generator-0.1.15 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
bootstrap_views_generator-0.1.14 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
bootstrap_views_generator-0.1.13 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
bootstrap_views_generator-0.1.12 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
bootstrap_views_generator-0.1.11 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
bootstrap_views_generator-0.1.10 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
bootstrap_views_generator-0.1.9 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
bootstrap_views_generator-0.1.8 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt
bootstrap_views_generator-0.1.7 lib/generators/bootstrap/templates/devise/simple_form/haml/passwords/edit.html.haml.tt