<commit_before>{% extends "base.html" %}

{% block header_title %}
    {{ lang.menu_edit_email|safe }}
{% endblock %}

{% block content %}

    <form id="form_edit_email" action="{{ action|safe }}" method="post" class="well form-horizontal">
        <fieldset>
            <div class="control-group">
                <label class="control-label" for="new_email">{{ lang.field_email|safe }}:</label>
                <div class="controls">
                    <input class="input-xlarge focused required" name="new_email" id="new_email" type="email" placeholder="{{ lang.enter_your|safe }} {{ lang.field_current_email|safe }}" value="{{ email }}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="password">{{ lang.field_password|safe }}:</label>
                <div class="controls">
                    <input class="input-xlarge focused required" name="password" id="password" type="password" placeholder="{{ lang.enter_your|safe }} {{ lang.field_password|safe }}">
                </div>
            </div>
            <div class="control-group">
                <div class="controls">
                    <a href="{{ uri_for('edit-profile') }}">{{ lang.menu_edit_profile|safe }}</a>
                </div>
            </div>
            <div class="form-actions">
                <button type="submit" class="btn btn-primary">{{ lang.menu_edit_email|safe }}</button>
            </div>
        </fieldset>
    </form>

{% endblock %}
<commit_msg>edit email now uses babel translations<commit_after>{% extends "base.html" %}

{% block header_title %}
    {% trans %}Change your email{% endtrans %}
{% endblock %}

{% block content %}

    <form id="form_edit_email" action="{{ action|safe }}" method="post" class="well form-horizontal">
        <fieldset>
            <div class="control-group">
                <label class="control-label" for="new_email">{% trans %}Email{% endtrans %}:</label>
                <div class="controls">
                    <input class="input-xlarge focused required" name="new_email" id="new_email" type="email" placeholder="{{ _("Enter a new email address") }}" value="{{ email }}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="password">{% trans %}Password{% endtrans %}:</label>
                <div class="controls">
                    <input class="input-xlarge focused required" name="password" id="password" type="password" placeholder="{{ _("Enter your") }} {{ _("Password") }}">
                </div>
            </div>
            <div class="control-group">
                <div class="controls">
                    <a href="{{ uri_for('edit-profile') }}">Edit Profile</a>
                </div>
            </div>
            <div class="form-actions">
                <button type="submit" class="btn btn-primary">{% trans %}Change your email{% endtrans %}</button>
            </div>
        </fieldset>
    </form>

{% endblock %}

{'fraction_non_alphanumeric': 0.17473821989528796, 'fraction_numerical': 0.0, 'mean_word_length': 2.2178947368421054, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '3208603', 'n_tokens_mistral': 871, 'n_tokens_neox': 810, 'n_words': 189}