Sha256: 7c9c58920af7214aed299ccb8b197727478c46ef2c1e93331238d92088240a14
Contents?: true
Size: 591 Bytes
Versions: 8
Compression:
Stored size: 591 Bytes
Contents
<h2>Edit Password</h2> <p> <% if params[:token].blank? %> Please enter the confirmation code you received via email and your new password. <% else %> Please enter your new password. <% end %> </p> <%= form_for 'user', :url => password_path, :html => { :method => :put } do |f| %> <% f.field_set do %> <% if current_user.anonymous? %> <%= label_tag "Token" %> <%= text_field_tag :token %> <% end %> <%= f.password_field :password, label: "New password" %> <% end %> <% f.buttons do %> <%= submit_tag "Save" %> <% end %> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems