Lines Matching defs:form
24 const FORM_RESEND_PWD_CLASS = "form-" . self::CANONICAL;
47 private static function updateNewFormResend(Form &$form)
57 $form->addClass(Identity::FORM_IDENTITY_CLASS . " " . self::FORM_RESEND_PWD_CLASS);
61 $headerHTML = IdentityFormsHelper::getHeaderHTML($form, self::FORM_RESEND_PWD_CLASS);
63 $form->addHTML($headerHTML, 1);
66 IdentityFormsHelper::deleteFieldSetAndBrFromForm($form);
67 IdentityFormsHelper::toBoostrapInputElements($form, self::FORM_RESEND_PWD_CLASS);
68 IdentityFormsHelper::toBootStrapSubmitButton($form);
73 private static function updateDokuFormResend(Doku_Form &$form)
84 * @var Doku_Form $form
86 $class = &$form->params["class"];
94 $newFormContent[] = IdentityFormsHelper::getHeaderHTML($form, self::FORM_RESEND_PWD_CLASS);
100 foreach ($form->_content as $field) {
128 <div class="form-floating">
129 <input type="text" id="inputUserName" class="form-control" placeholder="$loginText" required="required" autofocus="" name="u" value="$loginValue">
158 $form->_content = $newFormContent;
166 * To modify the form and add class
185 $form = &$event->data;
186 $class = get_class($form);
191 * @var Doku_Form $form
193 self::updateDokuFormResend($form);
198 * @var Form $form
200 self::updateNewFormResend($form);