Skip to content

Commit

Permalink
Added option for generating AdminLTE styled views.
Browse files Browse the repository at this point in the history
  • Loading branch information
almirb committed Jan 29, 2018
1 parent 1de6237 commit 9c50192
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crud/default/views/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
</div>
</div>
<br/>
<?php if ($generator->adminLTE): ?>
<div class="box box-primary">
<?php endif; ?>
<?php if ($generator->generateRelationsOnView): ?>
<div class="row">
<?php endif ?>
Expand Down Expand Up @@ -94,6 +97,9 @@
'attributes' => $gridColumn
]);
?>
<?php if ($generator->adminLTE): ?>
</div>
<?php endif; ?>

<?php if ($generator->generateRelationsOnView) { ?>
<?php foreach ($relations as $name => $rel): ?>
Expand Down

0 comments on commit 9c50192

Please sign in to comment.