@extends('layouts.frontend') @section('title', $list->name) @section('page_script') @endsection @section('page_header') @include("lists._header") @endsection @section('content') @include("lists._menu")

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

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

uid) }}" class="embedded-options-form">
@include('helpers.form_control', ['type' => 'text', 'name' => 'form_title', 'label' => trans('messages.form_title'), 'value' => trans('messages.Subscribe_to_our_mailing_list'), 'help_class' => 'list' ])
@include('helpers.form_control', ['type' => 'checkbox', 'name' => 'required_fields', 'label' => '', 'value' => 'no', 'options' => ['no','yes'], 'help_class' => 'list' ])
@include('helpers.form_control', ['type' => 'checkbox', 'name' => 'stylesheet', 'label' => '', 'value' => 'yes', 'options' => ['no','yes'], 'help_class' => 'list' ])
@include('helpers.form_control', ['type' => 'checkbox', 'name' => 'javascript', 'label' => '', 'value' => 'yes', 'options' => ['no','yes'], 'help_class' => 'list' ])
@include('helpers.form_control', ['type' => 'checkbox', 'name' => 'show_invisible', 'label' => '', 'value' => 'no', 'options' => ['no','yes'], 'help_class' => 'list' ])
@include('helpers.form_control', ['type' => 'textarea', 'name' => 'custom_css', 'class' => 'height-100 text-small', 'label' => trans('messages.custom_css'), 'value' => ".subscribe-embedded-form {\n color: #333\n}\n.subscribe-embedded-form label {\n color: #555\n}", 'help_class' => 'list' ])

@if (array_key_exists('stylesheet', request()->all()))

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

@include("lists._embedded_form_content", request()->all())

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