@extends('layouts.admin') @section('page-title') {{ $notification_template->name }} @endsection @section('title') {{ $notification_template->name }} @endsection @section('breadcrumb') @endsection @php $setting = App\Models\Utility::settings(); @endphp @push('css-page') @endpush @push('scripts') @endpush @section('multiple-action-button')
@if (isset($setting['is_enabled']) && $setting['is_enabled'] == 'on') @endif
@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'=>'3','placeholder'=>'EX. Hello, {company_name}'))}} {{ __('A variable is to be used in such a way.')}} {{ __('Ex. Hello, {company_name}')}}

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