<section id="editageneinput_${id}" class="editageneinput">
    <div class="script_placeholder" data-src="${applet_loader}"/>

    % 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

    <object type="application/x-java-applet" id="applet_${id}" class="applet" width="${width}" height="${height}">
      <param name="archive" value="/static/applets/capa/genex.jar" />
      <param name="code" value="GX.GenexApplet.class" />
      <param name="DNA_SEQUENCE" value="${dna_sequence}" />
      Applet failed to run.  No Java plug-in was found.
    </object>

    <input type="hidden" name="input_${id}" id="input_${id}" value="${value|h}"/>

    <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 status in ['unsubmitted', 'correct', 'incorrect', 'incomplete']:
  </div>
% endif
</section>
