<% infoBlockClass = 'grid_1' %> <% infoBlockClassLinkBlock = '' %> <% if (builderModel.form_type === 'external') { %> <% infoBlockClass = 'grid_12 mb20px' %> <% infoBlockClassLinkBlock = 'grid_1' %> <% } %> <% if (builderModel.form_type === 'external') { %>
<% if (builderModel.send_email == '1') { %> <% sendEmailBlockClass = '' %> <% } else { %> <% sendEmailBlockClass = 'hidden' %> <% } %> type="checkbox" id="external-form-assign-email" name="external-form-assign-email" /> <% if(builderModel.send_email == '1') { %> <% sendEmailConfig = JSON.parse(builderModel.send_email_config) %> <% } else { %> <% sendEmailConfig = '' %> <% } %>
<% if (builderModel.send_auto_reply == '1') { %> <% sendAutoReplyBlockClass = '' %> <% } else { %> <% sendAutoReplyBlockClass = 'hidden' %> <% } %> <% if(builderModel.send_auto_reply == '1') { %> <% sendAutoReplyConfig = JSON.parse(builderModel.send_auto_reply_config) %> <% } else { %> <% sendAutoReplyConfig = '' %> <% } %> type="checkbox" id="external-form-assign-email-reply" name="external-form-assign-email-reply" />
<% } %> <% infoClass = 'grid_12' %> <% if (builderModel.form_type === 'internal') { %> <% infoClass = 'grid_11' %> <% } %>

<%= _.isUndefined(i18n['Created on']) ? 'Created on' : i18n['Created on'] %>:

<%= (moment(builderModel.createdAt, 'YYYY-MM-DD HH:mm:ss').format('DD MMMM YYYY') === 'Invalid date') ? '': moment(builderModel.createdAt, 'YYYY-MM-DD HH:mm:ss').format('DD MMM YYYY') %>

<%= _.isUndefined(i18n['Created by']) ? 'Created by' : i18n['Created by'] %>:

<%= (!_.isEmpty(builderModel.creatorName) ? builderModel.creatorName :'') %>

<%= _.isUndefined(i18n['Last updated on']) ? 'Last updated on' : i18n['Last updated on'] %>:

<%= (moment(builderModel.updatedAt, 'YYYY-MM-DD HH:mm:ss').format('DD MMMM YYYY') === 'Invalid date') ? '': moment(builderModel.updatedAt, 'YYYY-MM-DD HH:mm:ss').format('DD MMM YYYY') %>

<%= _.isUndefined(i18n['Last updated by']) ? 'Last updated by' : i18n['Last updated by'] %>:

<%= ((!_.isEmpty(builderModel.editorName) && !_.isNull(builderModel.editorName)) ? builderModel.editorName :'') %>

1. <%= _.isUndefined(i18n['Form elements']) ? 'Form elements' : i18n['Form elements'] %>:

<%= _.isUndefined(i18n['CRM fields']) ? 'CRM fields' : i18n['CRM fields'] %>

<%= _.isUndefined(i18n['Regular fields']) ? 'Regular fields' : i18n['Regular fields'] %>

2. <%= _.isUndefined(i18n['Your web preview form']) ? 'Your web preview form' : i18n['Your web preview form'] %>:
<% if (builderModel.form_type === 'internal') { %> <% } %>
3. <%= _.isUndefined(i18n['Generated web form code']) ? 'Generated web form code' : i18n['Generated web form code'] %>: <%= _.isUndefined(i18n['Here will be your generated web form code']) ? 'Here will be your generated web form code' : i18n['Here will be your generated web form code'] %>