Sha256: 58492dd32bec78eeb0ce52010cbe727082db4be3ad93f6f9d018126248707809

Contents?: true

Size: 960 Bytes

Versions: 5

Compression:

Stored size: 960 Bytes

Contents

<div class="row">
  <div class="login">


    <%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>

      <div class="col-sm-12">

        <%= f.error_notification %>
        <h2>Change your password</h2>

        <%= f.input :reset_password_token, as: :hidden %>
        <%= f.full_error :reset_password_token %>

        <div class="form-inputs">
          <%= f.input :password, label: "New password", required: true, autofocus: true, hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length) %>
          <%= f.input :password_confirmation, label: "Confirm your new password", required: true %>
        </div>

        <div class="update-form--button form-actions">
          <%= f.button :submit, "Change my password" %>
        </div>
      </div>
    <% end %>

    <div class="col-sm-12">
      <%= render "users/shared/links" %>
    </div>
  
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
binda-0.0.7 app/views/users/passwords/edit.html.erb
binda-0.0.6 app/views/users/passwords/edit.html.erb
binda-0.0.5 app/views/users/passwords/edit.html.erb
binda-0.0.3 app/views/users/passwords/edit.html.erb
binda-0.0.2 app/views/users/passwords/edit.html.erb