<commit_before>{% extends 'pybb/base.html' %}
{% load pybb_extras %}
{% load i18n %}

{% block content %}
<h1>{% trans "Profile editing" %}</h1>
{% if profile.avatar %}
<img src="{{ profile.avatar.url }}" />
{% endif %}
<p><a href="{% url auth_password_change %}">{% trans "Change the password" %}</a></p>
<form method="post" enctype="multipart/form-data">
    <fieldset>
        <legend>{% trans "Profile editing" %}</lenged>
        {{ form.as_p }}
        <p><input type="submit" value="{% trans "Save" %}" /></p>
    </fieldset>
</form>
<h1>{% trans "Subscriptions on topics" %}</h1>
<ul>
{% for sub in user.subscriptions.all %}
<li>
{% link sub %}
&mdash;
<strong>
    <a href="{% url pybb_delete_subscription sub.id %}">{% trans "delete" %}</a>
</strong>
</li>
{% endfor %}
</ul>
{% endblock %}
<commit_msg>add link to email change page<commit_after>{% extends 'pybb/base.html' %}
{% load pybb_extras %}
{% load i18n %}

{% block content %}
<h1>{% trans "Profile editing" %}</h1>
{% if profile.avatar %}
<img src="{{ profile.avatar.url }}" />
{% endif %}
<p><a href="{% url auth_password_change %}">{% trans "Change the password" %}</a></p>
<p><a href="{% url auth_email_change %}">{% trans "Change the email" %}</a></p>
<form method="post" enctype="multipart/form-data">
    <fieldset>
        <legend>{% trans "Profile editing" %}</lenged>
        {{ form.as_p }}
        <p><input type="submit" value="{% trans "Save" %}" /></p>
    </fieldset>
</form>
<h1>{% trans "Subscriptions on topics" %}</h1>
<ul>
{% for sub in user.subscriptions.all %}
<li>
{% link sub %}
&mdash;
<strong>
    <a href="{% url pybb_delete_subscription sub.id %}">{% trans "delete" %}</a>
</strong>
</li>
{% endfor %}
</ul>
{% endblock %}

{'fraction_non_alphanumeric': 0.2421602787456446, 'fraction_numerical': 0.006968641114982578, 'mean_word_length': 3.979768786127168, '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': '5200776', 'n_tokens_mistral': 692, 'n_tokens_neox': 628, 'n_words': 166}