@if($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@php $eror_msg= (isset($msg) && !empty($msg)) ? 'style=display:block;':'' @endphp
{{(isset($msg) && !empty($msg)) ? $msg:''}}
@php $succ_msg= (isset($success) && !empty($success)) ? 'style=display:block;':'style=display:none;' @endphp
{{(isset($success) && !empty($success)) ? $success:''}}