<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% button_id = "password_button_close_#{@user.id}" form_id = "edit_user_#{@user.id}" dialog_id = "edit_password_#{@user.id}" url = user_path if force_change || change_current_request || @user.id == current_user.id url = profile_update_user_path end %> <% tagged_popup_remote_form_for(form_id, dialog_id, @user, url, :method => :post) do |form| %>
>
<% if force_change || change_current_request || @user.id == current_user.id %> <% end %> <%= form.password_field :password, {:size => 20, :dojoType => "helpsys.ext.TextBox", :allowBlank => false, :fieldLabel => "#{t '.new_password_label'}", :anchor => '95%'} %> <%= form.password_field :password_confirmation, {:size => 20, :dojoType => "helpsys.ext.TextBox", :allowBlank => false, :fieldLabel => "#{t '.confirm_new_password_label'}", :anchor => '95%'} %> <% unless force_change || change_current_request || @user.id == current_user.id %> <%= form.check_box :password_expired, { :dojoType => "helpsys.ext.CheckBox", :fieldLabel => "#{t 'users.edit_details.password_expired'}", :anchor => '95%'} %> <%= form.check_box :enabled, { :dojoType => "helpsys.ext.CheckBox", :fieldLabel => "#{t 'common.Enabled'}", :anchor => '95%'} %> <% end %> <%= hidden_field :edit_password, @user.id %> <%= hidden_field :force_change, force_change %> <%= hidden_field :password_change, true %> <%= hidden_field '', :id %>
<% end %>