summaryrefslogtreecommitdiff
path: root/views/admin/form/textarea.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/admin/form/textarea.phtml')
-rw-r--r--views/admin/form/textarea.phtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/views/admin/form/textarea.phtml b/views/admin/form/textarea.phtml
new file mode 100644
index 0000000..fabe0de
--- /dev/null
+++ b/views/admin/form/textarea.phtml
@@ -0,0 +1,20 @@
+<div class="form-group form-group-sm form-textarea <?php echo ((wpsg_isSizedString($this->view['field_config']['help']))?'has-feedback':''); ?>">
+
+ <label class="col-sm-6 control-label" for="<?php echo $this->view['field_id']; ?>"><?php echo $this->view['field_label']; ?></label>
+
+ <div class="col-sm-6">
+
+ <div class="wpsg_field_wrap">
+
+ <textarea class="form-control" id="<?php echo $this->view['field_id']; ?>" name="<?php echo $this->view['field_name']; ?>"><?php echo wpsg_hspc($this->view['field_value']); ?></textarea>
+
+ <?php if (wpsg_isSizedString($this->view['field_config']['help'])) { ?>
+ <a href="#" data-wpsg-tip="<?php echo $this->view['field_config']['help']; ?>" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=<?php echo $this->view['field_config']['help']; ?>" class="glyphicon glyphicon glyphicon-info-sign form-control-feedback" aria-hidden="true"></a>
+ <?php } ?>
+ </div>
+
+ </div>
+
+ <div class="clearfix wpsg_clear"></div>
+
+</div> \ No newline at end of file