9 lines
908 B
PHP
9 lines
908 B
PHP
<!-- field = field name -->
|
|
<!-- text = field text -->
|
|
<!-- value = value -->
|
|
<div class="form-group" style="margin-left: 0px">
|
|
<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>
|
|
<textarea id="<?php echo Arr::get($data,'field'); ?>_label" name="<?php echo Arr::get($data,'field'); ?>" class="form-control" placeholder="<?php echo Arr::get($data,'text'); ?>" style="font-family: monospace; width: auto; resize: none;" rows="<?php echo Form::textarea_rows(Arr::get($data,'value')); ?>" cols="<?php echo Form::textarea_cols(Arr::get($data,'value'),78); ?>" <?php echo Arr::convert(Arr::get($data,'attr',[])); ?>><?php echo Arr::get($data,'value'); ?></textarea>
|
|
<span class="col-md-offset-<?php echo Arr::get($data,'classlabelnum',2); ?> help-block with-errors"></span>
|
|
</div>
|