diff options
author | Markus Goetz <markus@woboq.com> | 2016-06-15 16:24:01 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2016-06-17 17:19:38 +0300 |
commit | 111bd8e57d2ccb7e894e8c3d86daaed62b6fb618 (patch) | |
tree | 230acaea78de9a158d4bad9499813f5d3b4d336c /apps/files_external/templates | |
parent | 491e2654ebed82044f84d3adcc5f845dc471ae06 (diff) |
files_external: Keep checkbox and its label on one line #20032 #22655
Else the checkbox and the decription end up on different lines in my Chrome on OS X
Diffstat (limited to 'apps/files_external/templates')
-rw-r--r-- | apps/files_external/templates/settings.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index c9cc40b0ba0..6662f637039 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -51,13 +51,17 @@ break; case DefinitionParameter::VALUE_BOOLEAN: ?> <?php $checkboxId = uniqid("checkbox_"); ?> + <div> + <label> <input type="checkbox" id="<?php p($checkboxId); ?>" <?php if (!empty($classes)): ?> class="checkbox <?php p(implode(' ', $classes)); ?>"<?php endif; ?> data-parameter="<?php p($parameter->getName()); ?>" <?php if ($value === true): ?> checked="checked"<?php endif; ?> /> - <label for="<?php p($checkboxId); ?>"><?php p($placeholder); ?></label> + <?php p($placeholder); ?> + </label> + </div> <?php break; case DefinitionParameter::VALUE_HIDDEN: ?> |