<?php } if (isset($success)) { ?> <p class="bg-success"><?php echo $l->get_ucf("saved"); ?> </p> <?php } ?> <div class="box"> <div class="box-content"> <form role="form" class="form-horizontal" method="POST" action=""> <?php echo $fields; ?> <div class="clearfix"></div> <div class="text-right"> <button class="btn btn-primary btn-label-left" type="submit"> <?php echo Icons::fa('save'); ?> <?php echo $l->get_ucf("save"); ?> </button> </div> </form> </div> </div>
?> </th> </tr> </thead> <?php foreach ($items as $item) { ?> <tr data-id="<?php echo $item->pk(); ?> "> <?php if ($sortable) { ?> <td class="sortfield"><?php echo \Door\Bootstrap\Helper\Icons::fa('bars'); ?> </td> <?php } ?> <?php $fields = $model->get_fields(); foreach ($columns as $column) { if ($column instanceof \Door\BSPanel\Data\IColumn) { echo "<td>" . $column->render($item) . "</td>"; } else { $val = $item->{$column}; if ($fields[$column]['type'] == 'boolean') { $val = Icons::show($val ? "ok" : "remove");