<button type="button" class="btn bg-primary btn-add"><i class="fa fa-fw fa-plus-circle"></i></button>

@push('js')
	<script>
		$('#{{ $model }}-table-header .btn-add').click(function() {
			@if (isset($create_callback))
				{{ $create_callback }};
			@else
				url = '{{ $route }}' + '/create/';
				window.location = url;
				// openUrl(url);
			@endif
		});	
	</script>
@endpush	
