<% 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'), 'changesNotSaved': __('Your changes you made may not be saved'), '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'), 'customFieldDeleteCTA': _x('Delete this custom field', 'Text on the delete button'), 'customFieldDeleteConfirm': __('This field will be deleted for all your subscribers. Are you sure?'), 'customFieldTypeText': __('Text Input'), 'customFieldTypeTextarea': __('Text Area'), 'customFieldTypeRadio': __('Radio buttons'), 'customFieldTypeCheckbox': __('Checkbox'), 'customFieldTypeSelect': _x('Select', 'Form input type'), 'customFieldTypeDate': __('Date'), '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'), 'blockAddCustomField': __('Create Custom Field'), 'blockAddCustomFieldDescription': __('Create a new custom field for your subscribers.'), 'blockAddCustomFieldFormHeading': __('New Custom Field.'), 'blockCreateButton': _x('Create', 'Label on form submit button.'), 'customFieldName': _x('Field name', 'Label for form field for custom input name'), 'selectCustomFieldType': _x('Select a field type', 'Label for form field for custom input type'), 'customFieldWithNameExists': __('The custom field [name] already exists. Please choose another name.'), 'editorIsUsingGutenberg': __('This form editor uses the WordPress Block Editor (Gutenberg)'), 'giveFeedback': __('Give feedback.'), 'useOldEditor': __('Use the old editor.') }) %> <% endblock %> <% block after_javascript %> <%= javascript('form_editor.js')%> <% endblock %>