Sha256: 726318a2bb2371d54d8dad3223fa30669826136eff6ba7fff3e19b33bbc4293c

Contents?: true

Size: 657 Bytes

Versions: 2

Compression:

Stored size: 657 Bytes

Contents

<h1>Change password</h1>

<% if @password.errors.any? %>
  <ul>
    <% @password.errors.full_messages.each do |msg| %>
      <li><%= msg %></li>
    <% end %>
  </ul>
<% end %>

<%= form_with url: password_path, method: :put do |f| %>
  <p>
    <%= f.label :password %>
    <%= f.password_field :password, autocomplete: 'current-password' %>
  </p>

  <p>
    <%= f.label :new_password %>
    <%= f.password_field :new_password, autocomplete: 'new-password' %>
  </p>

  <p>
    <%= f.label :new_password_confirmation %>
    <%= f.password_field :new_password_confirmation, autocomplete: 'new-password' %>
  </p>

  <p>
    <%= f.submit %>
  </p>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
quo_vadis-2.0.2 test/dummy/app/views/quo_vadis/passwords/edit.html.erb
quo_vadis-2.0.1 test/dummy/app/views/quo_vadis/passwords/edit.html.erb