<%namespace name='static' file='static_content.html'/>
<h2 class="problem-header">
  ${ problem['name'] }
  % if problem['weight'] != 1 and problem['weight'] is not None:
    : ${ problem['weight'] } points
  % endif
</h2>

<section class="problem">
  ${ problem['html'] }

  <section class="action">
    <input type="hidden" name="problem_id" value="${ problem['name'] }" />

    % if check_button:
    <input class="check ${ check_button }" type="button" value="${ check_button }" />
    % endif
    % if reset_button:
    <input class="reset" type="button" value="Reset" />
    % endif
    % if save_button:
    <input class="save" type="button" value="Save" />
    % endif
    % if answer_available:
    <button class="show"><span class="show-label">Show Answer(s)</span> <span class="sr">(for question(s) above - adjacent to each field)</span></button>
    % endif
    % if attempts_allowed :
    <section class="submission_feedback">
      You have used ${ attempts_used } of ${ attempts_allowed } submissions
    </section>
    % endif
  </section>
</section>
