<% questions.forEach(function(q, index) { %>
Stap <%= index + 1 %> / <%= questions.length %>

<%= q.title %>

<% q.fields.forEach(function(field) { %>
<% if (field.type === 'textarea') { %> <% } else { %> > <% } %>
<% }) %>
<% if (index > 0) { %> <% } %> <% if (index < questions.length - 1) { %> <% } else { %> <% } %>
<% }) %>