Sha256: 89f3b0de147d7cd872200256f73005ceeadc48ed9fc728d68bb1e4c0c6445090

Contents?: true

Size: 682 Bytes

Versions: 3

Compression:

Stored size: 682 Bytes

Contents

<h1>Reset password</h1>

<%= form_for(@user, url: password_reset_path(params[:id])) do |f| %>
  <% if @user.errors.any? %>
    <div id="error_explanation">
      <div class="alert errors">
        The form contains <%= pluralize(@user.errors.count, "error") %>.
      </div>
      <ul>
      <% @user.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <%= hidden_field_tag :email, @user.email %>

  <%= f.label :password %>
  <%= f.password_field :password %>

  <%= f.label :password_confirmation, "Confirmation" %>
  <%= f.password_field :password_confirmation %>

  <%= f.submit "Update password" %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lines-engine-0.6.2 app/views/lines/password_resets/edit.html.erb
lines-engine-0.6.1 app/views/lines/password_resets/edit.html.erb
lines-engine-0.6 app/views/lines/password_resets/edit.html.erb