{{ $edit_id ? __('email_template.update_email_template') : __('email_template.add_email_template') }}
@if( !$edit_id )
{{ __('email_template.select_template') }}:
@endif
@if( !empty($selected_template) ) @foreach( $selected_template['content'] as $key => $single ) @if( $key == 'subject' || $key == 'greeting' )
@error('validated_fields.'.$single['id'])
{{ $message }}
@enderror
@elseif( $key == 'info' )
{!! $single['desc'] !!}
@elseif( $key == 'content' )
@error('validated_fields.'.$single['id'])
{{ $message }}
@enderror
@endif @endforeach
{{__('email_template.set_email_status')}}
@endif
@push('scripts') @endpush