Sha256: e12931366482d0f355e2dccb3bc934999141416978c50b529bc79655bfd9610d
Contents?: true
Size: 505 Bytes
Versions: 9
Compression:
Stored size: 505 Bytes
Contents
if @user.errors.empty? page.call "crm.flip_form", :change_password page.call "crm.set_title", :change_password, t(:my_profile) page[:flash].replace_html flash[:notice] page.call "crm.flash", :notice flash[:notice] = nil else page[:change_password].replace_html :partial => "password" page[:change_password].visual_effect :shake, :duration => 0.25, :distance => 6 if @user.errors[:current_password].present? page[:current_password].focus else page[:user_password].focus end end
Version data entries
9 entries across 9 versions & 1 rubygems