Class: LandingPageEditorDrop

Inherits:
LandingPageDrop show all
Defined in:
app/drops/landing_page_editor_drop.rb

Overview

This inherits from LandingPageDrop overriding some instance methods. It is used to render the editor for embedded landing pages

Instance Method Summary collapse

Methods inherited from LandingPageDrop

#asset, #body, #collapsed_message, #comments, #content, #countdown_timer, #cta_object, #header_asset, #header_type, #headline, #id, #list, #mobile_image, #needs_gdpr_consent?, #no_cta_box?, #powered_by, #settings, #sharing_widget, #sidebar_body, #subhead, #success_message, #title, #url_for_sharing

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#cta_bodyString

Returns:

  • (String)

See Also:

#cta_noticeString

Returns:

  • (String)

See Also:

#cta_titleString

Returns:

  • (String)

See Also:

#fieldsArray<LandingPageEditorFormFieldDrop>

Returns the form fields on the landing page when a list is attached to the landing page as its LandingPageDrop#cta_object. Usually useful for building embedded landing page templates.

Returns:

#form_text_colorObject

#submitString

Returns the HTML for submit input of the form that can be rendered directly on the editor (no GDPR checkbox is rendered on the editor)

Returns:

  • (String)