<%-- Main loop for activities --%>
<%-- Is it a simple, branching or options activity--%>
<%-- Small row with a down arrow --%>
<%-- If it's a break between two branches/options then don't draw neither an arrow nor colour --%>
<%-- If it's a beginning of a complex activity, write the title. --%>
${lastParentActivityTitle}
<%-- Row with activity frame --%>
${complexActivityType} group${activity.group}
${complexActivityType}LastActivity
">
<%-- Write out number of the branch/option if any --%>
${lastGroup}
${lastGroup}
<%-- Activity type, icon and title --%>
${activity.type}
${activity.title}
<%-- Cell with activity form --%>
${complexActivityType}LastActivity
">
<%-- To get the contents, an Ajax call is made to the tool --%>
<%-- Editing advice link with URLs: one to check if it should be displayed (rel),
another one to get the contents (href) --%>
<%-- DIVs for messages from server, hidden by default --%>