- <%= __("You can easily add this form to your theme's in the [link]Widgets area[/link]")
+ <%= __("Add this form to your sidebar or footer in the [link]Widgets[/link].")
| replace({
'[link]': '',
'[/link]': ''
})
| raw
%>
-
+
- <%= __('%sHTML%s, %sPHP%s, %siframe%s and %sshortcode%s versions are also available.', 'wysija-newsletters')
+ <%= __("Copy and paste this [link]shortcode[/link] into a post or page alternatively.")
+ | replace({
+ '[link]': '',
+ '[/link]': ''
+ })
+ | raw
+ %>
+
+
+ <%= __('%sHTML%s, %sPHP%s and %siframe%s versions are also available.', 'wysija-newsletters')
| format(
'',
'',
'',
'',
'',
- '',
- '',
''
)
| raw
@@ -519,7 +522,7 @@
var name = $(this).siblings('.mailpoet_form_field').attr('wysija_name');
if(window.confirm(
- "<%= __('Do you really want to delete this custom field?') %>"
+ "<%= __('Deleting this field here will delete the data associated to it for all you users. Confirm you want to delete.') %>"
)) {
MailPoet.Ajax.post({
endpoint: 'customFields',
diff --git a/views/form/templates/blocks/html.hbs b/views/form/templates/blocks/html.hbs
index 323cc70d76..9ae3b42e71 100644
--- a/views/form/templates/blocks/html.hbs
+++ b/views/form/templates/blocks/html.hbs
@@ -1,9 +1,7 @@
{{#if params.text}}
-
- {{#if params.nl2br}}
- {{{ nl2br params.text }}}
- {{else}}
- {{{ params.text }}}
- {{/if}}
-
+ {{#ifCond params.nl2br '==' '1'}}
+ {{{ nl2br params.text }}}
+ {{else}}
+ {{{ params.text }}}
+ {{/ifCond}}
{{/if}}
\ No newline at end of file
diff --git a/views/form/templates/blocks/submit.hbs b/views/form/templates/blocks/submit.hbs
index 0d21a9874f..177137fc98 100644
--- a/views/form/templates/blocks/submit.hbs
+++ b/views/form/templates/blocks/submit.hbs
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file