More styling, banner when nothing is added
This commit is contained in:
@@ -10,6 +10,10 @@ Pass in:
|
||||
<h3>files</h3>
|
||||
</div>
|
||||
|
||||
@if(count($model->files) === 0)
|
||||
@include('admin.common.none_added', ['type' => 'files'])
|
||||
@endif
|
||||
|
||||
{{-- Show all the files here --}}
|
||||
<table class="table table-hover table-responsive">
|
||||
@if(count($model->files))
|
||||
|
||||
5
resources/views/admin/common/none_added.blade.php
Normal file
5
resources/views/admin/common/none_added.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="jumbotron">
|
||||
<p class="text-center">
|
||||
No {{ $type }} have been added
|
||||
</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user