Sha256: b828272ab305e4c9f52699c1dc4259b6ffff06288efed0788fa00024ddec49b9

Contents?: true

Size: 940 Bytes

Versions: 1

Compression:

Stored size: 940 Bytes

Contents

<h2 class="text-center">Change your password</h2>

<%= bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
  <%= render "devise/shared/error_messages", resource: resource %>
  <%= f.hidden_field :reset_password_token %>

  <%= f.password_field :password,
                       autofocus: true,
                       autocomplete: "new-password",
                       help: "(#{@minimum_password_length} characters minimum)",
                       label: "New password" %>
  <%= f.password_field :password_confirmation,
                       label: "Confirm new password",
                       autocomplete: "off",
                       class: "required" %>
  <%= f.form_group class: "d-grid" do %>
    <%= f.submit "Change my password", class: "btn btn-primary btn-lg" %>
  <% end %>
<% end %>

<div class="text-center">
  <%= render "devise/shared/links" %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise-bootstrap-form-1.0.0.alpha.pre.1 app/views/devise/passwords/edit.html.erb