Sha256: 20890ee3ef98edceecb6d0657a87081bff15b43cfed69d568187ac1434de5d28

Contents?: true

Size: 982 Bytes

Versions: 14

Compression:

Stored size: 982 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,
                input_html: { autocomplete: "new-password" } %>
  </div>

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

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

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
devise-i18n-1.12.0 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.11.1 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.11.0 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.10.3 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.10.2 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.10.1 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.10.0 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.9.4 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
renalware-core-2.1.1 app/views/devise/passwords/edit.html.erb
renalware-core-2.1.0 app/views/devise/passwords/edit.html.erb
devise-i18n-1.9.3 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.9.2 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.9.1 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb
devise-i18n-1.9.0 lib/generators/devise/templates/simple_form_for/passwords/edit.html.erb