Sha256: f72e9e90064a6236173486157fb524844126532043ee092d01ef9aa343696dd5

Contents?: true

Size: 435 Bytes

Versions: 9

Compression:

Stored size: 435 Bytes

Contents

if params[:cancel].true?
  page.call "crm.flip_form", :change_password
  page.call "crm.set_title", :change_password, t(:my_profile)
else
  page[:change_password].replace_html :partial => "password"
  page.call "crm.hide_form", :edit_profile
  page.call "crm.hide_form", :upload_avatar
  page.call "crm.flip_form", :change_password
  page.call "crm.set_title", :change_password, t(:change_password)
  page[:current_password].focus
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fat_free_crm-0.12.3 app/views/users/password.js.rjs
fat_free_crm-0.12.2 app/views/users/password.js.rjs
fat_free_crm-0.12.1 app/views/users/password.js.rjs
fat_free_crm-0.12.0 app/views/users/password.js.rjs
fat_free_crm-0.11.4 app/views/users/password.js.rjs
fat_free_crm-0.11.3 app/views/users/password.js.rjs
fat_free_crm-0.11.2 app/views/users/password.js.rjs
fat_free_crm-0.11.1 app/views/users/password.js.rjs
fat_free_crm-0.11.0 app/views/users/password.js.rjs