User col offset to avoid an empty label

1.10.x
Angel Fernando Quiroz Campos 11 years ago
parent b7b6257b36
commit 2c91bb6e9a
  1. 3
      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);

Loading…
Cancel
Save