Rev 5439 | Rev 5896 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="form-group form-group-sm form-checkbox <?php echo ((wpsg_isSizedString($this->view['field_config']['help']))?'has-feedback':''); ?>">
<div class="<?php
if (wpsg_isTrue($this->view['field_config']['fullWidth'])) echo 'col-sm-12';
else echo 'col-sm-offset-6 col-sm-6';
?>">
<div class="checkbox">
<label>
<div class="wpsg_field_wrap">
<input type="hidden" name="<?php echo $this->view['field_name']; ?>" value="0" />
<input type="checkbox" id="<?php echo $this->view['field_id']; ?>" name="<?php echo $this->view['field_name']; ?>" value="<?php echo wpsg_getStr($this->view['field_config']['value'], '1'); ?>" <?php echo (($this->view['field_checked'] > 0)?'checked="checked"':''); ?> />
<?php echo $this->view['field_label']; ?>
<?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>
</label>
</div>
</div>
<div class="clearfix wpsg_clear"></div>
</div>