Sha256: 53ee14e857bd50b6efbfecd483d3e60a229c6796bea0d8431656f64ebd3c8b99

Contents?: true

Size: 1.15 KB

Versions: 10

Compression:

Stored size: 1.15 KB

Contents

<div class="row">
  <div class="col-lg-4 col-md-6 ml-auto mr-auto">
<%- if options[:metatags] %>
    <h2 class="text-center"><%%= title('Change your password') %></h2>
<% else -%>
    <h2 class="text-center">Change your password</h2>
<%- 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 %>
      <div class="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' } %>
      </div>
      <div class="form-group">
        <%%= f.button :submit, 'Change my password', class: 'btn btn-primary btn-block btn-lg' %>
      </div>
    <%% end %>
    <div class="text-center">
      <%%= render "devise/shared/links" %>
    </div>
  </div>
</div>

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/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.15 lib/generators/bootstrap/templates/devise/simple_form/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.14 lib/generators/bootstrap/templates/devise/simple_form/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.13 lib/generators/bootstrap/templates/devise/simple_form/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.12 lib/generators/bootstrap/templates/devise/simple_form/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.11 lib/generators/bootstrap/templates/devise/simple_form/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.10 lib/generators/bootstrap/templates/devise/simple_form/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.9 lib/generators/bootstrap/templates/devise/simple_form/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.8 lib/generators/bootstrap/templates/devise/simple_form/erb/passwords/edit.html.erb.tt
bootstrap_views_generator-0.1.7 lib/generators/bootstrap/templates/devise/simple_form/erb/passwords/edit.html.erb.tt