Sha256: 3c23f229b845155ba3c7d22f65177da0d0b69a952a19304236d610da219dee4e

Contents?: true

Size: 490 Bytes

Versions: 19

Compression:

Stored size: 490 Bytes

Contents

- if @user.errors.empty?
  crm.flip_form('change_password');
  crm.set_title('change_password', '#{ j t(:my_profile) }');
  $('#flash').html('#{ j flash[:notice] }');
  crm.flash('notice')
  - flash[:notice] = nil
- else
  $('#change_password').html('#{ j render(:partial => "password") }');
  $('#change_password').effect("shake", { duration:250, distance: 6 });
  - if @user.errors[:current_password].present?
    $('#current_password').focus();
  - else
    $('#user_password').focus();

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/views/users/change_password.js.haml
fat_free_crm-0.15.2 app/views/users/change_password.js.haml
fat_free_crm-0.16.4 app/views/users/change_password.js.haml
fat_free_crm-0.14.1 app/views/users/change_password.js.haml
fat_free_crm-0.15.1 app/views/users/change_password.js.haml
fat_free_crm-0.16.3 app/views/users/change_password.js.haml
fat_free_crm-0.16.2 app/views/users/change_password.js.haml
fat_free_crm-0.16.1 app/views/users/change_password.js.haml
fat_free_crm-0.16.0 app/views/users/change_password.js.haml
fat_free_crm-0.15.0 app/views/users/change_password.js.haml
fat_free_crm-0.15.0.beta.2 app/views/users/change_password.js.haml
fat_free_crm-0.15.0.beta app/views/users/change_password.js.haml
fat_free_crm-0.14.0 app/views/users/change_password.js.haml
reduced_fat_crm-0.15.0.beta app/views/users/change_password.js.haml
reduced_fat_crm-0.14.0 app/views/users/change_password.js.haml
fat_free_crm-0.13.6 app/views/users/change_password.js.haml
fat_free_crm-0.13.5 app/views/users/change_password.js.haml
fat_free_crm-0.13.4 app/views/users/change_password.js.haml
fat_free_crm-0.13.3 app/views/users/change_password.js.haml