@if(!defined('LOAD_SIDEBAR'))
	@push('scripts')

		<script type="text/javascript" src="/assets/plugins/sidr/jquery.sidr.min.js"></script>

		<script>
			function initSidebar(sel) {
				var selector = (typeof(sel) == 'undefined') ? '#sidebar' : sel;
				$(selector).sidr();
			}
		</script>

	@endpush

	@push('css')
		<link rel="stylesheet" href="/assets/plugins/sidr/stylesheets/jquery.sidr.light.min.css">  
	@endpush

	@php(define('LOAD_SIDEBAR', true))
@endif