Sha256: c5ea0d45833e642641dbfcfe89c14c40999012ec458de611727363d7b68e6029
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 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-large" %> </div> <div class="form-group"> <%= f.password_field :password_confirmation, :autocomplete => :off, :placeholder => "Confirm password", :class => "form-control input-large" %> </div> <div class="form-group"> <%= f.submit "Change password", :class => "btn btn-success btn-large btn-block" %> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
casein-5.0.1.0 | app/views/casein/password_resets/edit.html.erb |
casein-5.0.0.0 | app/views/casein/password_resets/edit.html.erb |