mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-13 07:59:20 +00:00
19 lines
635 B
PHP
19 lines
635 B
PHP
<div role="alert" {{ $attributes->merge(['class' => 'alert alert-dismissible alert-' . $type]) }}>
|
|
<button class="close" data-dismiss="alert" aria-label="{{ trans('common.close') }}">
|
|
<span aria-hidden="true">×</span><span class="sr-only">{{ trans('common.close') }}</span>
|
|
</button>
|
|
@if (is_array($message))
|
|
@if (count($message) > 1)
|
|
<ul>
|
|
@foreach ($message as $data)
|
|
<li>{!! $data !!}</li>
|
|
@endforeach
|
|
</ul>
|
|
@else
|
|
{!! $message[0] !!}
|
|
@endif
|
|
@else
|
|
{!! $message !!}
|
|
@endif
|
|
</div>
|