5439 |
daniel |
1 |
<div class="form-group form-group-sm form-select <?php echo ((wpsg_isSizedString($this->view['field_config']['help']))?'has-feedback':''); ?>">
|
5266 |
daniel |
2 |
|
|
|
3 |
<label class="col-sm-6 control-label" for="<?php echo $this->view['field_id']; ?>"><?php echo $this->view['field_label']; ?></label>
|
|
|
4 |
|
|
|
5 |
<div class="col-sm-6">
|
|
|
6 |
|
5439 |
daniel |
7 |
<div class="wpsg_field_wrap">
|
|
|
8 |
|
|
|
9 |
<select id="<?php echo $this->view['field_id']; ?>" name="<?php echo $this->view['field_name']; ?>" class="form-control input-sm" <?php echo $this->view['atts_select']; ?>>
|
|
|
10 |
<?php foreach ($this->view['field_values'] as $k => $v) { ?>
|
|
|
11 |
<option <?php echo (($k == $this->view['field_value'])?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($k); ?>"><?php echo wpsg_hspc($v); ?></option>
|
|
|
12 |
<?php } ?>
|
|
|
13 |
</select>
|
|
|
14 |
|
|
|
15 |
<?php if (wpsg_isSizedString($this->view['field_config']['help'])) { ?>
|
|
|
16 |
<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>
|
5266 |
daniel |
17 |
<?php } ?>
|
5439 |
daniel |
18 |
|
|
|
19 |
</div>
|
5266 |
daniel |
20 |
|
|
|
21 |
</div>
|
|
|
22 |
|
5391 |
daniel |
23 |
<div class="clearfix wpsg_clear"></div>
|
|
|
24 |
|
5266 |
daniel |
25 |
</div>
|