@include('helpers.form_control', [ 'type' => 'text', 'name' => 'subject', 'value' => $page->subject, 'rules' => ['subject' => 'subject']]) @include('helpers.form_control', ['class' => ($layout->type == 'page' ? 'full-editor' : 'email-editor'), 'type' => 'textarea', 'name' => 'content', 'value' => $page->content, 'rules' => $list->getFieldRules()]) @if (count($layout->tags()) > 0)

@foreach($layout->tags() as $tag) @if ($tag["required"]) {{ $tag["name"] }} @endif @endforeach
@endif
@if (count($layout->tags()) > 0)

@foreach ($list->fields as $field) tag."}" }}"> {{ "{SUBSCRIBER_".$field->tag."}" }} @endforeach @foreach($layout->tags() as $tag) @if (!$tag["required"]) {{ $tag["name"] }} @endif @endforeach
@endif