<section id="filesubmission_${id}" class="filesubmission">
    <input type="file" name="input_${id}" id="input_${id}" value="${value}" /><br />
    % if state == 'unsubmitted':
    <span class="unanswered" style="display:inline-block;" id="status_${id}"></span>
    % elif state == 'correct':
    <span class="correct" id="status_${id}"></span>
    % elif state == 'incorrect':
    <span class="incorrect" id="status_${id}"></span>
    % elif state == 'queued':
    <span class="processing" id="status_${id}"></span>
    <span style="display:none;" class="xqueue" id="${id}" >${queue_len}</span>
    % endif
    <span class="debug">(${state})</span>
    <br/>
    <span class="message">${msg|n}</span>
    <br/>
</section>
