Skip to content

Commit

Permalink
Merge pull request #61 from agungsugiarto/analysis-AD3nJZ
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
agungsugiarto authored May 13, 2020
2 parents d8471ac + 95327a8 commit fd708a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/Models/UserModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace agungsugiarto\boilerplate\Models;

use Myth\Auth\Entities\User;
use Myth\Auth\Models\UserModel as BaseModel;

class UserModel extends BaseModel
Expand Down
14 changes: 7 additions & 7 deletions src/Views/User/index.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?= $this->include('agungsugiarto\boilerplate\Views\load\select2') ?>
<?= $this->include('agungsugiarto\boilerplate\Views\load\datatables') ?>
<?= $this->include('agungsugiarto\boilerplate\Views\load\select2') ?>
<?= $this->include('agungsugiarto\boilerplate\Views\load\datatables') ?>
<!-- Extend from layout index -->
<?= $this->extend('agungsugiarto\boilerplate\Views\layout\index') ?>
<?= $this->extend('agungsugiarto\boilerplate\Views\layout\index') ?>

<!-- Section content -->
<?= $this->section('content') ?>
<?= $this->section('content') ?>
<!-- SELECT2 EXAMPLE -->
<div class="card card-default">
<div class="card-header">
<div class="card-tools">
<div class="btn-group">
<a href="<?= route_to('admin/user/manage/new') ?>" class="btn btn-sm btn-block btn-primary"><i class="fa fa-plus"></i>
<?= lang('boilerplate.user.add') ?>
<?= lang('boilerplate.user.add') ?>
</a>
</div>
</div>
Expand Down Expand Up @@ -40,9 +40,9 @@
</div>
</div>
<!-- /.card -->
<?= $this->endSection() ?>
<?= $this->endSection() ?>

<?= $this->section('js') ?>
<?= $this->section('js') ?>
<script>
var tableUser = $('#table-user').DataTable({
processing: true,
Expand Down

0 comments on commit fd708a3

Please sign in to comment.