@props(['theme' => 'border', 'type' => 'info', 'title'=>'', 'message'=>''])
@if($type)
merge(['class' => 'alert alert-'.$type.' '.$theme.'-'.$type]) }}>
@if($title)
{!! $title !!}
@endif
{!! $message !!}
@endif
@if (count($errors) > 0)
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif