Sha256: 3fee1f74512e742acae6c61eefdf8cb1bce41e0018111e2de823bc3a1079617d

Contents?: true

Size: 935 Bytes

Versions: 11

Compression:

Stored size: 935 Bytes

Contents

<% @title = t('devise.headers.change_password') %>
<%= render 'account/shared/workflow/box' do |p| %>
  <% p.content_for :title, @title %>
  <% p.content_for :body do %>
    <% within_fields_namespace(:update_self) do %>
      <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: 'form', method: :put }) do |f| %>
        <%= f.hidden_field :reset_password_token %>
        <%= render 'account/shared/forms/errors', form: f, attributes: [:reset_password_token] %>
        <%= render 'shared/fields/password_field', form: f, method: :password, options: {autofocus: true, autocomplete: "off"} %>
        <%= render 'shared/fields/password_field', form: f, method: :password_confirmation, options: {autocomplete: "off"} %>
        <div class="buttons">
          <%= f.submit t('devise.buttons.change_password'), class: "button" %>
        </div>
      <% end %>
    <% end %>
  <% end %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bullet_train-1.2.20 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.19 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.18 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.17 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.16 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.15 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.14 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.13 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.12 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.11 app/views/devise/passwords/edit.html.erb
bullet_train-1.2.10 app/views/devise/passwords/edit.html.erb