% extends 'layout.html' %>
<% block after_css %>
<%= stylesheet(
'formEditor.css'
)%>
<% endblock %>
<% block container %>
<% endblock %>
<% block translations %>
<%= localize({
'addFormName': _x('Add form name', 'A placeholder for form name input'),
'form': __('Form'),
'formSettings': _x('Settings', 'A settings section heading'),
'customFieldSettings': _x('Custom field settings', 'A settings section heading'),
'customFieldsFormSettings': _x('Form settings', 'A settings section heading'),
'formPlacement': _x('Form Placement', 'A settings section heading'),
'customCss': _x('Custom CSS', 'A settings section heading'),
'formSaved': __('Form saved.'),
'customFieldSaved': __('Custom field saved.'),
'addFormWidgetHint': __('Add this form to your sidebar or footer on the [link]Widgets page[/link].'),
'addFormShortcodeHint': __('Copy and paste this [link]shortcode[/link] on to a post or page.'),
'addFormPhpIframeHint': __('[link]PHP[/link] and [link]iFrame[/link] versions are also available.'),
'settingsListLabel': __('This form adds the subscribers to these lists'),
'settingsAfterSubmit': __('After submit'),
'settingsShowMessage': __('Show message'),
'settingsGoToPage': __('Go to Page'),
'settingsPleaseSelectList': __('Please select a list'),
'fieldsBlocksCategory': __('Fields'),
'customFieldsBlocksCategory': __('Custom Fields'),
'customFieldNumberOfLines': __('Number of lines'),
'customFieldSaveCTA': _x('Update custom field', 'Text on the save button'),
'customFieldDateType': __('Type of date'),
'customFieldDateFormat': __('Order'),
'customFieldDefaultToday': __('Preselect today’s date'),
'customFieldDay': __('Day'),
'customFieldMonth': __('Month'),
'customFieldYear': __('Year'),
'customField1Line': _x('1 line', 'Number of rows in textarea'),
'customField2Lines': _x('2 lines', 'Number of rows in textarea'),
'customField3Lines': _x('3 lines', 'Number of rows in textarea'),
'customField4Lines': _x('4 lines', 'Number of rows in textarea'),
'customField5Lines': _x('5 lines', 'Number of rows in textarea'),
'customFieldValidateFor': __('Validate for'),
'customFieldValidateNothing': __('Nothing'),
'customFieldValidateNumbersOnly': __('Numbers only'),
'customFieldValidateAlphanumerical': __('Alphanumerical'),
'customFieldValidatePhoneNumber': __('Phone number, (+,-,#,(,) and spaces allowed)'),
'customFieldAddItem': __('Add item'),
'blockMandatory': __('Mandatory field'),
'blockFirstName': __('First name'),
'blockFirstNameDescription': __('Input field used to catch subscribers’ first names.'),
'blockLastName': __('Last name'),
'blockLastNameDescription': __('Input field used to catch subscribers’ last names.'),
'blockSegmentSelect': __('List selection'),
'blockLastNameDescription': __('Allow your subscribers to select which list(s) they want to subscribe to.'),
'blockSegmentSelectLabel': __('Select list(s):'),
'blockSegmentSelectNoLists': __('Please select at least one list'),
'blockSegmentSelectListLabel': __('Select the segment that you want to add'),
'blockEmail': __('Email'),
'blockEmailDescription': __('Input field used to catch subscribers’ email addresses.'),
'blockSubmit': __('Submit button'),
'blockSubmitDescription': __('Button used to submit the form.'),
'blockSubmitLabel': _x('Subscribe!', 'a default value for a subscription form button'),
'missingObligatoryBlock': __('Email input or submit is missing. Try reloading the form editor.'),
'label': _x('Label', 'settings for a label of an input'),
'displayLabelWithinInput': __('Display label within input'),
'displayLabel': _x('Display label', 'Settings - if label should be displayed'),
'blockDivider': __('Divider'),
'blockCustomHtml' : __('Custom text or HTML'),
'blockCustomHtmlDescription': __('Display custom text or HTML code in your form.'),
'blockCustomHtmlDefault': __('Subscribe to our newsletter and join [mailpoet_subscribers_count] other subscribers.'),
'blockCustomHtmlContentLabel': _x('Custom text', 'Textarea label'),
'blockCustomHtmlNl2br': __('Automatically add paragraphs')
}) %>
<% endblock %>
<% block after_javascript %>
<%= javascript('form_editor.js')%>
<% endblock %>