Sha256: f1d55d546a11d49c83a32371a6ac7596df945e0ae36222d39e941fd34320e27c
Contents?: true
Size: 1.04 KB
Versions: 10
Compression:
Stored size: 1.04 KB
Contents
<%= form_for @reset_user, :url => kryptonite_password_reset_path do |f| %> <% if @reset_user.errors.any? %> <div class="error"> <p> <% @reset_user.errors.keys.each do |key| %> <%= (key.to_s.humanize + " ") unless key == :base %> <%= @reset_user.errors[key].first %> <% end %> </p> </div> <% end %> <% if flash[:warning] %> <div class="error"> <p><%= flash[:warning] %></p> </div> <% end %> <% if flash[:notice] %> <div class="notice"> <p><%= flash[:notice] %></p> </div> <% end %> <%= hidden_field_tag :token, params[:token] %> <div class="text"> <p> <%= f.label :password, "#{t(:password)}:" %> <%= f.password_field :password, :class => "kryptoniteTextField" %> </p> </div> <div class="text"> <p> <%= f.label :password_confirmation, "#{t(:confirm_password)}:" %> <%= f.password_field :password_confirmation, :class => "kryptoniteTextField" %> </p> </div> <div class="submit_remember"> <p> <%= f.submit t(:reset_password), :class => "kryptoniteSubmit" %> </p> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems