Sha256: a29bb50fd86ea1484d08914e8cc8a9d342b15a4f22443810bce00c64748b2b35

Contents?: true

Size: 888 Bytes

Versions: 6

Compression:

Stored size: 888 Bytes

Contents

<h2><%= t(".change_your_password") %></h2>

<%= 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-inputs">
    <%= f.input :password,
                label: t(".new_password"),
                required: true,
                autofocus: true,
                hint: (t('devise.shared.minimum_password_length', count: @minimum_password_length) if @minimum_password_length),
                input_html: { autocomplete: "new-password" } %>
    <%= f.input :password_confirmation, label: t(".confirm_new_password"), required: true %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, t(".change_my_password") %>
  </div>
<% end %>

<%= render "devise/shared/links" %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
devise-i18n-1.8.2 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.8.1 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.8.0 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.7.2 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.7.1 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.7.0 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb