<commit_before>{% extends "base.html" %}
{% block content %}
    <div>
        <header>
            <h1>Вход в системата</h1>
        </header>
        <div>
          {% if form.errors %}
                {{ form.errors }}
            {% endif %}
            <form method="post" action="#">
                {% csrf_token %}
                <div class="control-group">
                    <label class="control-label" for="projectName">Потребител</label>

                    <div class="controls">
                        <input name="username" type="text" placeholder=""
                               class="form-control" value="{{ form.username.value|default:"" }}" />
                    </div>
                    <br/>
                </div>

                <div class="control-group">
                    <label class="control-label" for="projectName">Парола</label>

                    <div class="controls">
                        <input name="password" type="password" placeholder=""
                               class="form-control" value="" required/>
                    </div>
                    <br/>
                </div>
                <input type="submit" value="Вход"/>
            </form>
        </div>
    </div>
{% endblock %}<commit_msg>Refactoring the markup of the login form<commit_after>{% extends "base.html" %}
{% block content %}
    <div class="row">
        <div class="col-lg-5">
                <h1>Вход в системата</h1>
                  {% if form.errors %}
                        {{ form.errors }}
                    {% endif %}
                    <form method="post" action="#">
                        {% csrf_token %}
                        <div class="control-group">
                            <label class="control-label" for="projectName">Потребител</label>

                            <div class="controls">
                                <input name="username" type="text" placeholder=""
                                       class="form-control" value="{{ form.username.value|default:"" }}" />
                            </div>
                            <br/>
                        </div>

                        <div class="control-group">
                            <label class="control-label" for="projectName">Парола</label>

                            <div class="controls">
                                <input name="password" type="password" placeholder=""
                                       class="form-control" value="" required/>
                            </div>
                            <br/>
                        </div>
                        <button type="submit" class="btn btn-primary">Вход</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
{% endblock %}

{% block footer_scripts %}
    <script src="http://underscorejs.org/underscore.js"></script>
    <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/js/bootstrap.min.js"></script>
    <script src="{{ STATIC_URL }}js/jquery.validate.js"> </script>
    <script src="{{ STATIC_URL }}js/appConfig.js"></script>
{% endblock %}
{'fraction_non_alphanumeric': 0.14707750952986023, 'fraction_numerical': 0.0028589580686149934, 'mean_word_length': 1.1747237569060773, 'pattern_counts': {'":': 0, '<': 66, '<?xml version=': 0, '>': 66, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '400270', 'n_tokens_mistral': 831, 'n_tokens_neox': 759, 'n_words': 147}