@foreach($buttons as $b)
   	@permission('add')
   		@if($b['modal'] == 'si')
   			<a href="{{$b['url'] }}" data-toggle="modal" data-target="#createModal"   class="{{$b['class']}}" >
				<i class="{{$b['icon']}}"></i> {{$b['text']}}
			</a>
   		@else
			<a href="{{$b['url'] }}"  data-url="{{ $b['url'] }}" class="{{$b['class']}}" >
				<i class="{{$b['icon']}}"></i> {{$b['text']}}
			</a>
		@endif
	@endpermission
@endforeach