.dialog.darkgrey_box
  .box.box-shadow
    %h2.box-header Change Your Password
    .dialog-content
      = form_tag(action: 'change_password') do
        %p
          = label_tag :password, 'Current Password:'
          %br/
          = text_field_tag :password, nil, type: 'password', required: 'true'
        %p
          = label_tag :new_password, 'New Password:'
          %br/
          = text_field_tag :new_password, nil, type: 'password', autocomplete: 'off', required: 'true'
        %p
          = label_tag :repeat_password, 'Repeat Password:'
          %br/
          = text_field_tag :repeat_password, nil, type: 'password', autocomplete: 'off', required: 'true'
        %input#user{ name: "user", type: "hidden", value: "#{User.current.login}" }/
        = render partial: '/webui/shared/dialog_action_buttons'
