<commit_before>{% extends 'header.html' %}

{% block title %}
    New Post
{% endblock %}
{% block body %}
<form action="{{ url_for('makePosts') }}" method="post">
    {{ form.csrf_token }}
    <div class="form-group">
        <!-- {{ form.title.label }} -->
        {{ form.title(class_="form-control", placeholder="Title") }}
    </div>
    <div class="form-group">
        {{ form.body.label }}
        {{ form.body(class_="form-control", placeholder="Content") }}
    </div>
    <input class="btn btn-default" type="submit" value="Post">
</form>
{% endblock %}<commit_msg>Now with warning<commit_after>{% extends 'header.html' %}
{% block title %}
    New Post
{% endblock %}
{% block body %}
<form action="{{ url_for('makePosts') }}" method="post">
    {{ form.csrf_token }}
    <div class="form-group">
        {{ form.title.label }}
        {{ form.title(class_="form-control", placeholder="Title") }}
    </div>
    <div class="form-group">
        {{ form.body.label }}
        {{ form.body(class_="form-control", placeholder="Content") }}
    </div>
    <div class="alert alert-danger" role="alert">Warning! You cannot edit your post after you have submitted</div>
    <input class="btn btn-default" type="submit" value="Post">
</form>
{% endblock %}
{'fraction_non_alphanumeric': 0.20952380952380953, 'fraction_numerical': 0.0, 'mean_word_length': 3.3937282229965158, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, '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': '6067615', 'n_tokens_mistral': 410, 'n_tokens_neox': 388, 'n_words': 84}