@section('title', 'Email Templates') @push('styles') @endpush
{{__('Email Templates')}}
{{Form::model($currEmailTempLang, array('route' => array('admin.email_template.update', $id), 'method' => 'PUT')) }}
{{__('Placeholders')}}

{{__('App Name')}} : {app_name}

{{__('App Url')}} : {app_url}

{{__('User Name')}} : {user_name}

{{__('User Email')}} : {user_email}

@if($emailTemplate->slug=='new_user')

{{__('Password')}} : {password}

@elseif($emailTemplate->slug=='two_factor_code')

{{__('Two Factor Code')}} : {two_factor_code}

@elseif($emailTemplate->slug=='verify_email')

{{__('Verification URL')}} : {verification_url}

@elseif($emailTemplate->slug=='reset_password')

{{__('Password Reset link')}} : {password_reset_link}

{{__('Link Expiry Time')}} : {link_expiry_time}

@elseif($emailTemplate->slug=='contract_task_reminder')

{{__('Task Subject')}} : {task_subject}

{{__('Set By Name')}} : {reminder_set_by_name}

{{__('Set By Email')}} : {reminder_set_by_email}

{{__('Task View URL')}} : {task_view_url}

{{__('Reminder Desc')}} : {reminder_description}

@elseif($emailTemplate->slug=='contract_expiry')

{{__('Subject')}} : {contract_subject}

{{__('End Date')}} : {contract_end_date}

{{__('View URL')}} : {contract_view_url}

@elseif($emailTemplate->slug=='contract_termination')

{{__('Subject')}} : {contract_subject}

{{__('View URL')}} : {contract_view_url}

@elseif(in_array($emailTemplate->slug, ['new_location_login', 'new_device_login', 'failed_login']))

{{__('Time')}} : {time}

{{__('IP Address')}} : {ip_address}

{{__('browser')}} : {browser}

{{__('Location City')}} : {location_city}

{{__('Location State')}} : {location_state}

@elseif($emailTemplate->slug=='mentioned_in_comment')

{{__('Comment')}} : {comment}

{{__('Comment URL')}} : {comment_url}

{{__('Commentator Name')}} : {commentator_name}

{{__('Commented At')}} : {commented_at}

@endif
{{ Form::label('subject', __('Subject'), ['class' => 'col-form-label text-dark']) }} {{ Form::text('subject', null, ['class' => 'form-control font-style', 'required' => 'required']) }}
{{ Form::label('from', __('From'), ['class' => 'col-form-label text-dark']) }} {{ Form::text('from', $emailTemplate->from, ['class' => 'form-control font-style', 'required' => 'required']) }}
{{ Form::label('content', __('Email Message'), ['class' => 'col-form-label text-dark']) }} {{ Form::textarea('content', $currEmailTempLang->content, ['class' => 'summernote-simple', 'required' => 'required']) }}
{{ Form::close() }}
@push('scripts') @endpush