Changed workflow to compact tables
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
<div class="form-group row">
|
||||
<label class="col-lg-2 col-form-label" for="wfitem_<?=$item->name?>">
|
||||
<?=$item->label?>
|
||||
<?=($item->required == 1) ? "*" : ""?>
|
||||
</label>
|
||||
<div class="col-lg-10">
|
||||
<?php
|
||||
|
||||
<td>
|
||||
<?php if($item->type != "gps"): ?>
|
||||
<label class="form-label" for="wfitem_<?=$item->name?>">
|
||||
<?=$item->label?>
|
||||
<?=($item->required == 1) ? "*" : ""?>
|
||||
</label>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
|
||||
switch($item->type) {
|
||||
case "string":
|
||||
include(realpath(dirname(__FILE__)."/items/")."/string.php");
|
||||
@@ -34,8 +36,12 @@
|
||||
case "delimiter":
|
||||
include(realpath(dirname(__FILE__)."/items/")."/delimiter.php");
|
||||
break;
|
||||
case "date":
|
||||
include(realpath(dirname(__FILE__)."/items/")."/date.php");
|
||||
break;
|
||||
default:
|
||||
include(realpath(dirname(__FILE__)."/items/")."/string.php");
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
?>
|
||||
|
||||
</td>
|
||||
Reference in New Issue
Block a user