@extends('layouts.admin') @section('page-title') {{ $notification_template->name }} @endsection @section('breadcrumb') @endsection @push('pre-purpose-css-page') @endpush @section('action-btn')
{{-- start for ai module--}} @php $user = \App\Models\User::find(\Auth::user()->creatorId()); $plan= \App\Models\Plan::getPlan($user->plan); @endphp @if($plan->chatgpt == 1) @endif {{-- end for ai module--}}
@endsection @section('content')
{{ __('Placeholders') }}
{{__('Variables')}}
@php $variables = json_decode($curr_noti_tempLang->variables); @endphp @if(!empty($variables) > 0) @foreach ($variables as $key => $var)

{{__($key)}} : {{ '{'.$var.'}' }}

@endforeach @endif
{{Form::model($curr_noti_tempLang,array('route' => array('notification-templates.update', $curr_noti_tempLang->parent_id), 'method' => 'PUT')) }}
{{Form::label('content',__('Notification Message'),['class'=>'form-label text-dark'])}} {{Form::textarea('content',$curr_noti_tempLang->content,array('class'=>'form-control','required'=>'required','rows'=>'04','placeholder'=>'EX. Hello, {company_name}'))}} {{ __('A variable is to be used in such a way.')}} {{ __('Ex. Hello, {user_name}')}}

{{Form::hidden('lang',null)}}
{{ Form::close() }}
@endsection