Sha256: 4d84930e1e5947972b4bcfddf0798fbc444e3f0e538d4e85eda1bbe28787a598

Contents?: true

Size: 816 Bytes

Versions: 2

Compression:

Stored size: 816 Bytes

Contents

<h2><%= t('.change_your_password', default: 'Change your password') %></h2>

<%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
  <%= f.error_notification class: 'alert alert-danger' %>
  <%= f.hidden_field :reset_password_token %>

  <div class="form-inputs">
    <%= f.input :password, label: t('.new_password', default: 'New password'), autocomplete: 'off', autofocus: true, required: true %>
    <%= f.input :password_confirmation, label: t('.confirm_new_password', default: 'Confirm new password'), autocomplete: 'off', required: true %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, t('.change_my_password', default: 'Change my password'), class: 'btn btn-primary' %>
  </div>
<% end %>

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-i18n-bootstrap-0.3.1 app/views/devise/passwords/edit.html.erb
devise-i18n-bootstrap-0.3.0 app/views/devise/passwords/edit.html.erb