<commit_before>{% extends 'base.html' %}
{% load staticfiles %}

{% block body %}
<div class="container">
  <div class="row">
    <div class="col-sm-12" id="article-column">
      <div class="article">
        <h2 class="article-title" id="article-title"></h2>
        <div class="article-content" id="article-content"></div>
      </div>
      <button class="btn btn-success" id="take-quiz">Finish & Take Quiz</button>
    </div>
  </div>
</div>
<div class="modal fade" id="error-dialog" tabindex="-1" role="dialog" aria-labelledby="modal-title" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title" id="modal-title">Error</h4>
      </div>
      <div class="modal-body">
        <p id="error-message"></p>
      </div>
      <div class="modal-footer">
        <a href="{% url 'quizzes:new_assignments' %}" class="btn btn-danger">OK</a>
      </div>
    </div>
  </div>
</div>
{% endblock %}

{% block extra_script %}
<script>
  var _context = {
    submit_answers_url: "{% url 'quizzes:attempt' quiz_id %}",
    quiz_details_url: "{% url 'quizzes_api:quiz_details' quiz_id %}",<commit_msg>Use col-sm-8 to show article when reading it<commit_after>{% extends 'base.html' %}
{% load staticfiles %}

{% block body %}
<div class="container">
  <div class="row">
    <div class="col-sm-8 col-sm-offset-2" id="article-column">
      <div class="article">
        <h2 class="article-title" id="article-title"></h2>
        <div class="article-content" id="article-content"></div>
      </div>
      <button class="btn btn-success" id="take-quiz">Finish & Take Quiz</button>
    </div>
  </div>
</div>
<div class="modal fade" id="error-dialog" tabindex="-1" role="dialog" aria-labelledby="modal-title" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title" id="modal-title">Error</h4>
      </div>
      <div class="modal-body">
        <p id="error-message"></p>
      </div>
      <div class="modal-footer">
        <a href="{% url 'quizzes:new_assignments' %}" class="btn btn-danger">OK</a>
      </div>
    </div>
  </div>
</div>
{% endblock %}

{% block extra_script %}
<script>
  var _context = {
    submit_answers_url: "{% url 'quizzes:attempt' quiz_id %}",
    quiz_details_url: "{% url 'quizzes_api:quiz_details' quiz_id %}",
{'fraction_non_alphanumeric': 0.20790251107828656, 'fraction_numerical': 0.005539143279172821, 'mean_word_length': 3.607142857142857, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5201901', 'n_tokens_mistral': 962, 'n_tokens_neox': 924, 'n_words': 182}