summaryrefslogtreecommitdiff
path: root/views/admin/form/checkbox.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-01-15 07:13:27 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-01-15 07:13:27 +0000
commit48ac7c4a1ecb2b9e10e9b8984a1ac52646e2d351 (patch)
tree4cd861fc0bd73ad7175a7b75da56642ac4aa8a80 /views/admin/form/checkbox.phtml
parentf5251fc84775783e91794b3ab0752f5414974394 (diff)
- Sicherung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5266 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/form/checkbox.phtml')
-rw-r--r--views/admin/form/checkbox.phtml18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/admin/form/checkbox.phtml b/views/admin/form/checkbox.phtml
new file mode 100644
index 0000000..9c08291
--- /dev/null
+++ b/views/admin/form/checkbox.phtml
@@ -0,0 +1,18 @@
+<div class="form-group">
+
+ <div class="col-sm-offset-6 col-sm-6">
+
+ <div class="checkbox">
+ <label>
+
+ <input type="hidden" name="<?php echo $this->view['field_name']; ?>" value="0" />
+ <input type="checkbox" name="<?php echo $this->view['field_name']; ?>" value="1" <?php echo (($this->view['field_checked'] > 0)?'checked="checked"':''); ?> />
+
+ <?php echo $this->view['field_label']; ?>
+
+ </label>
+ </div>
+
+ </div>
+
+</div> \ No newline at end of file