<section id="inputtype_${id}" class="capa_inputtype" >
    <div class="crystalography_problem" style="width:${width};height:${height}"></div>

    <div class="input_lattice">
        Lattice: <select></select>
    </div>

    <div class="script_placeholder" data-src="/static/js/raphael.js"></div>
    <div class="script_placeholder" data-src="/static/js/sylvester.js"></div>
    <div class="script_placeholder" data-src="/static/js/crystallography.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}" aria-describedby="answer_${id}" id="input_${id}" value="${value|h}" style="display:none;"/>

    <p class="status" aria-describedby="input_${id}">
        % 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>
