Sha256: 8cb11df57bec71608a89bf0d9c7641e5a09b187fe59a686d0b7283e90b171ed4

Contents?: true

Size: 992 Bytes

Versions: 1

Compression:

Stored size: 992 Bytes

Contents

<h2 class="text-center"><%= t(".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: "t("devise.shared.minimum_password_length", count: @minimum_password_length)",
                       label: t(".new_password") %>
  <%= f.password_field :password_confirmation,
                       label: t(".confirm_new_password"),
                       autocomplete: "off",
                       class: "required" %>
  <%= f.form_group class: "d-grid" do %>
    <%= f.submit t(".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/i18n/passwords/edit.html.erb