Sha256: 676b8bcbcbef37356d59323f218cc3066c9d32a998544e85b032a6c05e3e3d76
Contents?: true
Size: 1.21 KB
Versions: 7
Compression:
Stored size: 1.21 KB
Contents
<h1>Password Change</h1> <% if flash[:notice] %> <p class="notice"><%= flash[:notice] %></p> <% end %> <% if flash[:alert] %> <p class="alert"><%= flash[:alert] %></p> <% end %> <% if @credential.updated_at %> <p class="password_age_notice"> Your have been using the same password for <span class="password_age"> <%= time_ago_in_words @credential.updated_at, true %>. </span> </p> <% end %> <%= form_for @credential, :url => change_password_session_path, :as => :credential, :method => :post do |f| %> <section class="fields"> <% unless @credential.new_record? %> <div class="field"> <%= label_tag :old_password, 'Current Password' %><br /> <span class="value"> <%= password_field_tag :old_password %> </span> </div> <% end %> <div class="field"> <%= f.label :password, 'New Password' %><br /> <span class="value"> <%= f.password_field :password %> </span> </div> <div class="field"> <%= f.label :password_confirmation, 'Re-enter New Password' %><br /> <span class="value"> <%= f.password_field :password_confirmation %> </span> </div> </section> <div class="actions"> <%= f.submit 'Change Password' %> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems