Improvements to field views and minor updates
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<!-- field = field_name -->
|
||||
<!-- text = field_text -->
|
||||
<!-- field = field name -->
|
||||
<!-- text = field text -->
|
||||
<!-- value = value -->
|
||||
<div class="form-group">
|
||||
<label for="cert" class="col-md-2 control-label"><?php echo $data['text']; ?></label>
|
||||
<div class="<?php echo $data['class']; ?>" style="padding-left: 0px">
|
||||
<input type="text" class="form-control" id="cert" name="<?php echo $data['field']; ?>" placeholder="<?php echo $data['text']; ?>" value="<?php echo $data['value']; ?>" >
|
||||
<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="<?php echo Arr::get($data,'class','col-md-6'); ?>" style="padding-left: 0px">
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user