><%= task.name %>

<%= course.fullname %>

<% _.each(task.questions, function (question, idx) { %>

<% print(idx + 1) %>.

<%= question.text %>

<% _.each(attachments, function (att) { if (((!att.options && !idx) || (parseInt(att.options) == idx)) && (att.visible === undefined || att.visible)) { %> <% if (att.type == "image") { %>
<% } %> <% }}); %> <% var firstLink = true; _.each(attachments, function (att) { if (((!att.options && !idx) || (parseInt(att.options) == idx)) && (att.visible === undefined || att.visible)) { %> <% if (att.type != "image") { %> <% if (firstLink) { firstLink = false; %>
<% } %>

<% } %> <% }}); %> <% _.each(question.answers, function (answer) { %> <% }); %>
<% }); %>
Finish