<commit_before>{% extends "base.html" %}
{% block content %}
    <div class="row">
    {% if messages %}
              <div class="alert alert-info" role="alert">
                <ul class="messages">
                    {% for message in messages %}
                        <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
                    {% endfor %}
                </ul>
              </div>
    {% endif %}
        <div class="col-md-4 col-md-offset-3">
            <form class="form-horizontal">
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">Emotion Type</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="inputEmail3" name="{{ key }}" value="{{ emotion }}" readonly placeholder="{{ emotion }}">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">Reason</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="inputPassword3" placeholder="Optional Reason">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10"><commit_msg>added new field<commit_after>{% extends "base.html" %}
{% block content %}
    <div class="row" xmlns="http://www.w3.org/1999/html">
    {% if messages %}
              <div class="alert alert-info" role="alert">
                <ul class="messages">
                    {% for message in messages %}
                        <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
                    {% endfor %}
                </ul>
              </div>
    {% endif %}
        <div class="col-md-4 col-md-offset-3">
            <form class="form-horizontal" method="post" action="{% url 'emotion save' %}"> {% csrf_token %}
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">Emotion</label>
                    <div class="col-sm-10">
                        <input type="text" hidden readonly name="state" value="{{ key }}">
                        <input type="text" class="form-control" id="inputEmail3" value="{{ emotion }}" readonly placeholder="{{ emotion }}">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">Reason</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="reason" placeholder="Optional Reason">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">Date</label>
                    <div class="col-sm-10">
                        <input type="date" class="form-control" required name="_date" value="{{ date }}" placeholder="Date Format m-d-Y">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
{'fraction_non_alphanumeric': 0.16510148439866706, 'fraction_numerical': 0.011511663132384126, 'mean_word_length': 1.516768292682927, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 1}, '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': '6786592', 'n_tokens_mistral': 932, 'n_tokens_neox': 838, 'n_words': 190}