@extends('layouts/contentLayoutMaster') @if(isset($template)) @section('title', __('locale.templates.update_template')) @else @section('title', __('locale.templates.add_template')) @endif @section('vendor-style') @endsection @section('content')

@if(isset($template)) {{ __('locale.templates.update_template') }} @else {{ __('locale.templates.add_template') }} @endif

@if(config('app.trai_dlt') && Auth::user()->customer->activeSubscription() !== null && Auth::user()->customer->activeSubscription()->plan->is_dlt)

{!! __('locale.templates.dlt_description') !!}

@endif
@if(isset($template)) {{ method_field('PUT') }} @endif @csrf
@error('name')
{{ $message }}
@enderror
@if(config('app.trai_dlt') && Auth::user()->customer->activeSubscription() !== null && Auth::user()->customer->activeSubscription()->plan->is_dlt)
@error('dlt_template_id')
{{ $message }}
@enderror
@error('dlt_category')

{{ $message }}

@enderror
@error('sender_id')

{{ $message }}

@enderror
@if(isset($template))
@error('approved')

{{ $message }}

@enderror
@endif @endif
160 {{ __('locale.labels.characters_remaining') }} 1 {{ __('locale.labels.message') }} (s) @error('message')
{{ $message }}
@enderror
@endsection @section('vendor-script') @endsection @section('page-script') @endsection