replaced section with stack for js/css
This commit is contained in:
@@ -32,15 +32,15 @@
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('js')
|
||||
@push('js')
|
||||
<script src="{{ asset('public/js/bootstrap-fancyfile.js') }}"></script>
|
||||
@endsection
|
||||
@endpush
|
||||
|
||||
@section('css')
|
||||
@push('css')
|
||||
<link rel="stylesheet" href="{{ asset('public/css/bootstrap-fancyfile.css') }}">
|
||||
@endsection
|
||||
@endpush
|
||||
|
||||
@section('scripts')
|
||||
@push('scripts')
|
||||
<script type="text/javascript">
|
||||
var text_yes = '{{ trans('general.yes') }}';
|
||||
var text_no = '{{ trans('general.no') }}';
|
||||
@@ -57,4 +57,4 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
@endpush
|
||||
|
||||
@@ -40,15 +40,15 @@
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('js')
|
||||
@push('js')
|
||||
<script src="{{ asset('public/js/bootstrap-fancyfile.js') }}"></script>
|
||||
@endsection
|
||||
@endpush
|
||||
|
||||
@section('css')
|
||||
@push('css')
|
||||
<link rel="stylesheet" href="{{ asset('public/css/bootstrap-fancyfile.css') }}">
|
||||
@endsection
|
||||
@endpush
|
||||
|
||||
@section('scripts')
|
||||
@push('scripts')
|
||||
<script type="text/javascript">
|
||||
var text_yes = '{{ trans('general.yes') }}';
|
||||
var text_no = '{{ trans('general.no') }}';
|
||||
@@ -65,4 +65,4 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
@endpush
|
||||
|
||||
Reference in New Issue
Block a user