@extends('layouts.core.frontend', [ 'menu' => 'campaign', ]) @section('title', trans('messages.campaigns') . " - " . trans('messages.template')) @section('head') @endsection @section('page_header')

forward_to_inbox {{ $campaign->name }}

@include('campaigns._steps', ['current' => 3])
@endsection @section('content')
{{ csrf_field() }}

{{ trans('messages.email_content') }}

@if ($campaign->type != 'plain-text')
@include('helpers.form_control', ['type' => 'textarea', 'class' => 'clean-editor', 'name' => 'html', 'label' => '', 'value' => $campaign->getTemplateContent(), 'rules' => $rules, 'help_class' => 'campaign' ])
@endif
@include('helpers.form_control', ['type' => 'textarea', 'class' => 'form-control plain_text_content', 'name' => 'plain', 'label' => '', 'value' => $campaign->plain, 'rules' => $rules, 'help_class' => 'campaign' ])
@include('elements._tags', ['tags' => Acelle\Model\Template::tags($campaign->defaultMailList)])
@endsection