Sha256: 39740696ea5fc93686920d41e8f716394067ae17175b5056a79c62a6a5ea7eac

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

<h1>Change password</h1>
<%= form_for(@user, :url => { :controller => 'users', :action => "change_password"}) do |f| %>
    <% if @user.errors.any? %>
        <div id="error_explanation">
            <h2><%= pluralize(@user.errors.count, "error") %> prohibited you from registering:</h2>

            <ul>
                <% @user.errors.full_messages.each do |msg| %>
                    <li><%= msg %></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 %>
    </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fs_auth-0.0.1 app/views/users/change_password.html.erb