Sha256: 4b10a8354a9105b2c1ccbc6a51d1e870a5d393c49e4ca66d8e1663f4741d0271
Contents?: true
Size: 1.1 KB
Versions: 7
Compression:
Stored size: 1.1 KB
Contents
<%= form_for @reset_user, :url => casein_password_reset_path do |f| %> <% if @reset_user.errors.any? %> <div id="error_messages" class="alert alert-danger"> <% @reset_user.errors.keys.each do |key| %> <%= (key.to_s.humanize + " ") unless key == :base %> <%= @reset_user.errors[key].first %> <% end %> </div> <% end %> <% if flash[:warning] %> <div id="error" class="alert alert-danger"> <%= flash[:warning] %> </div> <% end %> <% if flash[:notice] %> <div id="notice" class="alert alert-success"> <%= flash[:notice] %> </div> <% end %> <%= hidden_field_tag :token, params[:token] %> <div class="form-group"> <%= f.password_field :password, :autocomplete => :off, :placeholder => "New password", :class => "form-control input-lg" %> </div> <div class="form-group"> <%= f.password_field :password_confirmation, :autocomplete => :off, :placeholder => "Confirm password", :class => "form-control input-lg" %> </div> <div class="form-group"> <%= f.submit "Change password", :class => "btn btn-success btn-lg btn-block" %> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems