@extends('layouts.app') @section('stitle', $reasonsName) @section('title', __('messages.reason')) @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @elseif($errors->any()) @else @endif

@yield('stitle')

@csrf
@endsection