More styling, banner when nothing is added

This commit is contained in:
Nabeel Shahzad
2018-04-09 20:04:21 -05:00
parent e1c8174b3f
commit e109e00aa8
9 changed files with 145 additions and 94 deletions

View File

@@ -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))