@extends('layouts.admin') @section('title') {{ __('Notification Template') }} @endsection @section('action-button')
@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, ['route' => ['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, ['class' => 'form-control', 'required' => 'required', 'rows' => '04', 'placeholder' => 'EX. Hello, {app_name}']) }} {{ __('A variable is to be used in such a way.') }} {{ __('Ex. TaskGo, {app_name}') }}

{{ Form::hidden('lang', null) }} {{ Form::submit(__('Save changes'), ['class' => 'btn btn-sm btn-print-invoice btn-primary rounded-pill']) }}
{{ Form::close() }}
@endsection