12 lines
867 B
PHP
12 lines
867 B
PHP
<!-- field = field name -->
|
|
<!-- text = field text -->
|
|
<!-- value = value -->
|
|
<div class="form-group">
|
|
<label for="<?php echo Arr::get($data,'field'); ?>_label" class="col-md-<?php echo Arr::get($data,'classlabelnum',2); ?> control-label"><?php echo Arr::get($data,'text'); ?></label>
|
|
<div class="input-group <?php echo Arr::get($data,'class','col-md-2'); ?>">
|
|
<div class="input-group-addon"><i class="fa fa-dollar"></i></div>
|
|
<input type="text" id="<?php echo Arr::get($data,'field'); ?>_label" name="<?php echo Arr::get($data,'field'); ?>" value="<?php echo Arr::get($data,'value'); ?>" class="form-control" placeholder="<?php echo Arr::get($data,'text'); ?>" autocomplete="off" <?php echo Arr::convert(Arr::get($data,'attr',[])); ?>>
|
|
</div>
|
|
<span class="col-md-offset-<?php echo Arr::get($data,'classlabelnum',2); ?> help-block with-errors"></span>
|
|
</div>
|