12 lines
496 B
PHP
12 lines
496 B
PHP
<!-- field = field name -->
|
|
<!-- text = field text -->
|
|
<!-- value = array of values -->
|
|
<!-- default = value -->
|
|
<!-- class = col-md class -->
|
|
<div class="form-group">
|
|
<label for="<?php echo $data['field']; ?>_label" class="col-md-2 control-label"><?php echo $data['text']; ?></label>
|
|
<div class="input-group <?php echo $data['class']; ?>">
|
|
<?php echo Form::select($data['field'],$data['value'],$data['default'],array('class'=>'form-control','placeholder'=>$data['text'])); ?>
|
|
</div>
|
|
</div>
|