<% if (!zenario.engToBoolean(ff.full_width)) { %>
<% foreach (m.fields as f => field) { %>
<% if (field.side_note) { %>
{{zenario.unfun(field.side_note)}}
<% } %>
<% } %>
<% if (ff.label && !zenario.IN(ff.type, 'checkbox', 'radio')) { %>
<% if (ff.pre_field_post_label_html) { %>
{{ff.pre_field_post_label_html}}
<% } %>
<% if (ff.encrypted && zenario.IN(ff.type, 'checkboxes', 'radios')) { %>
🔑
<% hadKeySymbol = true; %>
<% } %>
<% if (ff.site_setting && ff.site_setting.protect_from_database_restore && zenario.IN(ff.type, 'checkboxes', 'radios')) { %>
<% hadProtectedSymbol = true; %>
<% } %>
<% } %>
<% } %>
<% foreach (m.fields as f => field) { %>
<% var showEncryptedIcon = !hadKeySymbol && field.encrypted; %>
<% var showProtectedIcon = !hadProtectedSymbol && field.site_setting && field.site_setting.protect_from_database_restore; %>
<% var showPhraseIcon = field.show_phrase_icon; %>
{{field._html}}
<% if (showEncryptedIcon) { %>
🔑
<% } %>
<% if (showProtectedIcon) { %>
<% } %>
<% if (showPhraseIcon) { %>
<% } %>
<% } %>
<% var nb; %>
<% foreach (m.fields as f => field) { %>
<% if (field.note_below && $.trim(nb = zenario.unfun(field.note_below))) { %>
<% if (field.show_plain_note_below) { %>
<% var note_below_class = "zenario_note_below_plain"; %>
<% } else { %>
<% var note_below_class = "zenario_note_below"; %>
<% } %>
<% } %>
<% } %>
<% foreach (m.fields as f => field) { %>
<% if (field.error && field.error != true) { %>
{{zenario.htmlspecialchars(field.error, true)}}
<% } %>
<% } %>
<% if (ff._isLastRow) { %>
<% if (ff.grouping) { %>