<commit_before>{% extends "skel.html" %}
{% block title %}Nouveau sujet{% endblock %}
{% block content %}
<div class="row">
  <div class="large-7 columns">
    <h1>Ajouter un nouveau sujet</h1>
    <h3>Dans "{{parent.name}}"</h3>
    <form action="{% url 'thread_put' parent.id %}" method="post">
        {% csrf_token %}
        {{ form.non_field_errors }}

        {% for field in form %}
          {% include "simple_input.html" %}
        {% endfor %}
        <p class="text-right"><input type="submit" class="button success radius" value="Envoyer" /></p>
    </form>
    {% include "markdown_small_help.html" %}
  </div>
</div>

{% endblock %}
<commit_msg>Add markdown modal to new threads (was only present in replies)<commit_after>{% extends "skel.html" %}
{% block title %}Nouveau sujet{% endblock %}
{% block content %}
<div class="row">
  <div class="large-7 columns">
    <h1>Ajouter un nouveau sujet</h1>
    <h3>Dans "{{parent.name}}"</h3>
    <form action="{% url 'thread_put' parent.id %}" method="post">
        {% csrf_token %}
        {{ form.non_field_errors }}

        {% for field in form %}
          {% include "simple_input.html" %}
        {% endfor %}
        <p class="text-right"><input type="submit" class="button success radius" value="Envoyer" /></p>
    </form>
    {% include "markdown_small_help.html" %}
    <div id="makrdown-down" class="reveal-modal" data-reveal>
      {% include "markdown_small_help.html" %}
    </div>
    <div id="makrdown-cheat" class="reveal-modal" data-reveal>
      {% include "markdown_cheatsheet.html" %}
    </div>
  </div>
</div>

{% endblock %}

{'fraction_non_alphanumeric': 0.1884686918784873, 'fraction_numerical': 0.006199628022318661, 'mean_word_length': 3.1491002570694087, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '1972780', 'n_tokens_mistral': 606, 'n_tokens_neox': 540, 'n_words': 124}