@extends('layouts.app') @section('title', __('master.edit')) @section('content')
@if (request('action') == 'delete' && $singleMstr) @can('delete', $singleMstr)

{{ __('master.delete') }}

{{ $singleMstr->name }}

{{ $singleMstr->description }}

{!! $errors->first('master_id', ':message') !!}

{{ __('master.delete_confirm') }}
@endcan @else

{{ __('master.edit') }}

{{ csrf_field() }} {{ method_field('patch') }}
{!! $errors->first('name', ':message') !!}
{!! $errors->first('description', ':message') !!}
@endif @endsection