diff options
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/form/input.phtml | 1 | ||||
| -rw-r--r-- | views/admin/index.phtml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml index a55e454..8ed0b76 100644 --- a/views/admin/form/input.phtml +++ b/views/admin/form/input.phtml @@ -8,6 +8,7 @@ <input
type="<?php echo wpsg_getStr($this->view['field_config']['type'], 'text'); ?>"
class="form-control input-sm"
+ <?php if (($this->view['field_config']['autocomplete']??true) === false) { ?> autocomplete="off" <?php } ?>
name="<?php echo $this->view['field_name']; ?>"
tabindex="<?php
diff --git a/views/admin/index.phtml b/views/admin/index.phtml index 746a1af..72db6e2 100644 --- a/views/admin/index.phtml +++ b/views/admin/index.phtml @@ -47,6 +47,7 @@ <?php if (wpsg_isSizedString($this->view['subTemplate'])) { ?>
<?php $this->render($this->view['subTemplate']); ?>
<?php } ?>
+
</div>
</div>
\ No newline at end of file |
