<section id="inputtype_${id}" class="capa_inputtype" >
    <div class="drag_and_drop_problem_div" id="drag_and_drop_div_${id}"
     data-plain-id="${id}">
    </div>

    <div class="drag_and_drop_problem_json" id="drag_and_drop_json_${id}"
        style="display:none;">${drag_and_drop_json}</div>

    <div class="script_placeholder" data-src="/static/js/capa/drag_and_drop.js"></div>

    % if status == 'unsubmitted':
        <div class="unanswered" id="status_${id}">
    % elif status == 'correct':
        <div class="correct" id="status_${id}">
    % elif status == 'incorrect':
        <div class="incorrect" id="status_${id}">
    % elif status == 'incomplete':
        <div class="incorrect" id="status_${id}">
    % endif


    <input type="text" name="input_${id}" id="input_${id}" value="${value|h}"
    style="display:none;"/>

    <p class="status">
        % if status == 'unsubmitted':
        unanswered
        % elif status == 'correct':
        correct
        % elif status == 'incorrect':
        incorrect
        % elif status == 'incomplete':
        incomplete
        % endif
    </p>

    <p id="answer_${id}" class="answer"></p>

    % if msg:
        <span class="message">${msg|n}</span>
    % endif

    % if status in ['unsubmitted', 'correct', 'incorrect', 'incomplete']:
        </div>
    % endif
</section>
