Skip to content

Commit

Permalink
Add grid element layout BT#16817
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed May 5, 2020
1 parent c456500 commit f480b58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/pear/HTML/QuickForm/button.php
Expand Up @@ -253,7 +253,7 @@ public function getTemplate($layout)
}
return $template;
break;
case FormValidator::LAYOUT_BOX:
case FormValidator::LAYOUT_GRID:
case FormValidator::LAYOUT_BOX_NO_LABEL:
return '
{element}
Expand Down
1 change: 1 addition & 0 deletions main/inc/lib/pear/HTML/QuickForm/checkbox.php
Expand Up @@ -208,6 +208,7 @@ public function getTemplate($layout)
{element}
</div>';
break;
case FormValidator::LAYOUT_GRID:
case FormValidator::LAYOUT_BOX:
return '
<div class="input-group">
Expand Down
1 change: 1 addition & 0 deletions main/inc/lib/pear/HTML/QuickForm/textarea.php
Expand Up @@ -248,6 +248,7 @@ public function getTemplate($layout)
{element}
</div>';
break;
case FormValidator::LAYOUT_GRID:
case FormValidator::LAYOUT_BOX:
return '
<label {label-for}>{label}</label>
Expand Down

0 comments on commit f480b58

Please sign in to comment.