original_string: public function ChangePasswordForm()
      {
          $form = ChangePasswordForm::create($this, "ChangePasswordForm");
  
          $form
              ->Actions()
              ->find("name", "action_doChangePassword")
              ->addExtraClass("btn")
              ->addExtraClass("btn-green");
  
          $cancel_btn = LiteralField::create(
              "CancelLink",
              '<a href="' . $this->Link() . '" class="btn btn-red">'. _t("Users.CANCEL", "Cancel") .'</a>'
          );
  
          $form
              ->Actions()
              ->insertBefore($cancel_btn, "action_doChangePassword");
  
          $this->extend("updateChangePasswordForm", $form);
  
          return $form;
      }
code: public function ChangePasswordForm()
      {
          $form = ChangePasswordForm::create($this, "ChangePasswordForm");
  
          $form
              ->Actions()
              ->find("name", "action_doChangePassword")
              ->addExtraClass("btn")
              ->addExtraClass("btn-green");
  
          $cancel_btn = LiteralField::create(
              "CancelLink",
              '<a href="' . $this->Link() . '" class="btn btn-red">'. _t("Users.CANCEL", "Cancel") .'</a>'
          );
  
          $form
              ->Actions()
              ->insertBefore($cancel_btn, "action_doChangePassword");
  
          $this->extend("updateChangePasswordForm", $form);
  
          return $form;
      }
code_tokens: public function ChangePasswordForm ( ) { $ form = ChangePasswordForm :: create ( $ this , "ChangePasswordForm" ) ; $ form -> Actions ( ) -> find ( "name" , "action_doChangePassword" ) -> addExtraClass ( "btn" ) -> addExtraClass ( "btn-green" ) ; $ cancel_btn = LiteralField :: create ( "CancelLink" , '<a href="' . $ this -> Link ( ) . '" class="btn btn-red">' . _t ( "Users.CANCEL" , "Cancel" ) . '</a>' ) ; $ form -> Actions ( ) -> insertBefore ( $ cancel_btn , "action_doChangePassword" ) ; $ this -> extend ( "updateChangePasswordForm" , $ form ) ; return $ form ; }
docstring: Factory for generating a change password form. The form can be expanded
  using an extension class and calling the updateChangePasswordForm method.
  
  @return Form
docstring_tokens: Factory for generating a change password form . The form can be expanded using an extension class and calling the updateChangePasswordForm method .