<section id="inputtype_${id}" class="capa_inputtype" >
     <div id="holder" style="width:${width};height:${height}"></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/underscore-min.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
    % if hidden:
      <div style="display:none;" name="${hidden}" inputid="input_${id}" />
    % endif

  <input type="text" name="input_${id}" id="input_${id}" value="${value}"
   % if size:
   size="${size}"
   % endif
   % if hidden:
    style="display:none;"
   % endif
   />

      <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>
