Class: LandingPageEditorDrop
- Inherits:
-
LandingPageDrop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- LandingPageDrop
- LandingPageEditorDrop
- 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
- #cta_body ⇒ String
- #cta_notice ⇒ String
- #cta_title ⇒ String
-
#fields ⇒ Array<LandingPageEditorFormFieldDrop>
Returns the form fields on the landing page when a list is attached to the landing page as its LandingPageDrop#cta_object.
- #form_text_color ⇒ Object
-
#submit ⇒ String
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).
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
Instance Method Details
#cta_body ⇒ String
#cta_notice ⇒ String
#cta_title ⇒ String
#fields ⇒ Array<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.
#form_text_color ⇒ Object
#submit ⇒ String
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)