@extends('layouts.admin') @section('page-title') {{__('Email Templates')}} @endsection @section('action-button')
@endsection @section('links') @if(\Auth::guard('client')->check()) @else @endif @endsection @push('scripts') @endpush @section('content')
{{ __('Placeholders') }}
@if($emailTemplate->name=='New Client')

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

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

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

{{__('Email')}} : {email}

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

@elseif($emailTemplate->name=='User Invited')

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

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

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

{{__('Workspace Name')}} : {workspace_name}

{{__('Owner Name')}} : {owner_name}

@elseif($emailTemplate->name=='Project Assigned')

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

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

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

{{__('Project Name')}} : {project_name}

{{__('Project Status')}} : {project_status}

{{__('Owner Name')}} : {owner_name}

@elseif($emailTemplate->name=='Contract Shared')

{{__('Client Name')}} : {client_name}

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

{{__('Project Name')}} : {project_name}

{{__('Contract Type')}} : {contract_type}

{{__('Contract value')}} : {value}

{{__('Start Date')}} : {start_date}

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

@endif
{{Form::model($currEmailTempLang, array('route' => array('email_template.update', $currEmailTempLang->parent_id), 'method' => 'PUT')) }}
{{ 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', $currEmailTempLang->from, ['class' => 'form-control font-style', 'required' => 'required']) }}
{{Form::label('content',__('Email Message'),['class'=>'form-label text-dark'])}} {{Form::textarea('content',$currEmailTempLang->content,array('class'=>'summernote','required'=>'required','id'=>'summernote'))}}
{{Form::hidden('lang',null)}}
{{ Form::close() }}
@endsection