소스 검색

User col offset to avoid an empty label

Angel Fernando Quiroz Campos 10 년 전
부모
커밋
2c91bb6e9a
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      main/inc/lib/formvalidator/FormValidator.class.php

+ 1 - 2
main/inc/lib/formvalidator/FormValidator.class.php

@@ -118,8 +118,7 @@ class FormValidator extends HTML_QuickForm
         $this->setRequiredNote('<span class="form_required">*</span> <small>' . get_lang('ThisFieldIsRequired') . '</small>');
         $noteTemplate = <<<EOT
 	<div class="form-group">
-	    <div class="col-sm-2"></div>
-		<div class="col-sm-10">{requiredNote}</div>
+		<div class="col-sm-offset-2 col-sm-10">{requiredNote}</div>
 	</div>
 EOT;
         $renderer->setRequiredNoteTemplate($noteTemplate);