@include('helpers.form_control', [ 'type' => 'text', 'name' => 'subject', 'value' => $page->subject, 'rules' => ['subject' => 'subject']]) @if ($layout->alias == 'sign_up_form')
@include('helpers.form_control', ['type' => 'checkbox', 'name' => 'enable_term', 'label' => '', 'value' => $list->getEmbeddedFormOption('enable_term'), 'options' => ['no','yes'], 'help_class' => 'list', ])
@endif @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