<% if (zenario.engToBoolean(m.errors)) { %>
<% for (var e in m.errors) { %>
{{zenario.htmlspecialchars(m.errors[e].message, true)}}
<% } %>
<% } %> <% for (var n in m.notices) { %>
{{zenario.htmlspecialchars(m.notices[n].message, true)}}
<% } %> <% if (m.fields) { %> <% var firstField = m.fields[0]; %> <% if (firstField._lastVisibleGrouping !== firstField.grouping) { %> <% if (firstField._lastVisibleGrouping) { %> <% } %> <% if (firstField.grouping) { %>
<% } %> <% } %> <% if (firstField.legend) { %> {{firstField.legend}} <% } %>
<% if (m.fields[0].label !== undefined && !(firstField.type == 'checkbox' || firstField.type == 'radio' || firstField.type == 'toggle')) { %>
<% } %>
{{m.that.microTemplate(m.that.mtPrefix + '_field', m.fields)}}
<% if (firstField._isLastRow) { %> <% if (firstField.grouping) { %>
<% } %> <% } %> <% } %>