<commit_before>{% extends "FeedmeUserBundle::layout.html.twig" %}

{% trans_default_domain 'FOSUserBundle' %}

{% block fos_user_content %}
    {% if error %}
        <div class="m-b-20 text-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
    {% endif %}
    <form action="{{ path("fos_user_security_check") }}" method="post">
        <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
        <div class="form-group m-b-20">
            <input  class="form-control input-lg" placeholder="{{ 'security.login.username'|trans({}, 'messages') }}"
                    type="text" id="username" name="_username" value="{{ last_username }}" required="required" />
        </div>
        <div class="form-group m-b-20">
            <input  class="form-control input-lg" placeholder="{{ 'security.login.password'|trans({}, 'messages') }}"
                    type="password" id="password" name="_password" required="required" />
        </div>
        <div class="checkbox m-b-20">
            <label>
                <input type="checkbox" id="remember_me" name="_remember_me" value="on" />
                {{ 'security.login.remember_me'|trans }}
            </label>
        </div>
        <div class="login-buttons">
            <input  class="btn btn-theme btn-block btn-lg"
                    type="submit" id="_submit" name="_submit" value="{{ 'security.login.submit'|trans }}" />
        </div>
        <div class="m-t-20">
            {{'not_member'|trans({'%register_link%': url('fos_user_registration_register')}, 'messages')|raw }}
        </div>
    </form>
{% endblock fos_user_content %}<commit_msg>Add resetting feature in login view<commit_after>{% extends "FeedmeUserBundle::layout.html.twig" %}

{% trans_default_domain 'FOSUserBundle' %}

{% block fos_user_content %}
    {% if error %}
        <div class="m-b-20 text-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
    {% endif %}
    <form action="{{ path("fos_user_security_check") }}" method="post">
        <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
        <div class="form-group m-b-20">
            <input  class="form-control input-lg" placeholder="{{ 'security.login.username'|trans({}, 'messages') }}"
                    type="text" id="username" name="_username" value="{{ last_username }}" required="required" />
        </div>
        <div class="form-group m-b-20">
            <input  class="form-control input-lg" placeholder="{{ 'security.login.password'|trans({}, 'messages') }}"
                    type="password" id="password" name="_password" required="required" />
        </div>
        <div class="checkbox m-b-20">
            <label>
                <input type="checkbox" id="remember_me" name="_remember_me" value="on" />
                {{ 'security.login.remember_me'|trans }}
            </label>
        </div>
        <div class="login-buttons">
            <input  class="btn btn-theme btn-block btn-lg"
                    type="submit" id="_submit" name="_submit" value="{{ 'security.login.submit'|trans }}" />
        </div>
        <div class="m-t-20">
            {{'not_member'|trans({'%register_link%': url('fos_user_registration_register')}, 'messages')|raw }}
        </div>
        {{'resetting.redirect'|trans({'%reset_link%': url('fos_user_resetting_request')}, 'messages')|raw }}
    </form>
{% endblock fos_user_content %}
{'fraction_non_alphanumeric': 0.18915767997668317, 'fraction_numerical': 0.005829204313611192, 'mean_word_length': 2.817575083426029, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '5832400', 'n_tokens_mistral': 1075, 'n_tokens_neox': 1026, 'n_words': 186}