Sha256: f4ff22a10b95940129c844170d13d43e22b4052c275afb8ab3d577e6ff78bfdc
Contents?: true
Size: 935 Bytes
Versions: 102
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), class: 'form', html: { 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
102 entries across 102 versions & 1 rubygems