Sha256: f5721ea412d5939f5bfa30b20e8510cd325bef618829b5d93879616e742bbe07

Contents?: true

Size: 646 Bytes

Versions: 16

Compression:

Stored size: 646 Bytes

Contents

<h1>Reset password</h1>

<%= form_for @user, url: password_reset_path(params[:id]) do |f| %>
  <% if @user.errors.any? %>
    <div class="error_messages">
      <h2>Form is invalid</h2>
      <ul>
        <% for message in @user.errors.full_messages %>
          <li><%= message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>
  <div class="field">
    <%= f.label :password %><br />
    <%= f.password_field :password %>
  </div>
  <div class="field">
    <%= f.label :password_confirmation %><br />
    <%= f.password_field :password_confirmation %>
  </div>
  <div class="actions"><%= f.submit "Change password" %></div>
<% end %>

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
authpro-1.1.0 test/rails/dummy/app/views/password_resets/edit.html.erb
authpro-1.1.0 lib/generators/authpro/templates/password_resets_edit.html.erb
authpro-1.0.1 test/rails/dummy/app/views/password_resets/edit.html.erb
authpro-1.0.1 lib/generators/authpro/templates/password_resets_edit.html.erb
authpro-1.0.0 lib/generators/authpro/templates/password_resets_edit.html.erb
authpro-1.0.0 test/rails/dummy/app/views/password_resets/edit.html.erb
authpro-0.9.3 lib/generators/authpro/templates/password_resets_edit.html.erb
authpro-0.9.3 test/rails/dummy/app/views/password_resets/edit.html.erb
authpro-0.9.2 lib/generators/authpro/templates/password_resets_edit.html.erb
authpro-0.9.2 test/rails/dummy/app/views/password_resets/edit.html.erb
authpro-0.9.1 lib/generators/authpro/templates/password_resets_edit.html.erb
authpro-0.9.1 test/rails/dummy/app/views/password_resets/edit.html.erb
authpro-0.9.0 test/rails/dummy/app/views/password_resets/edit.html.erb
authpro-0.9.0 lib/generators/authpro/templates/password_resets_edit.html.erb
authpro-0.1.0 lib/generators/authpro/templates/password_resets_edit.html.erb
authpro-0.1.0 test/rails/dummy/app/views/password_resets/edit.html.erb