<commit_before>{% extends 'base.html' %}
{% load i18n %}
{% load tags %}

{% block content %}
    <div class="info-side-bar">
        <p>{% blocktrans %}This setting only affects the current image.{% endblocktrans %}</p> 
    </div>

    <div class="sided-main-content">
        <h1>{% trans "Change the license for this image" %}</h1>
        {% form_saved request %}
        <p>
            {% blocktrans %}You can associate a Creative Commons license with your content if you wish, to grant people the right to use your work under certain circumstances. For more information on what your options are, please visit the <a target="_blank" href="http://www.creativecommons.org/">Creative Commons website</a>.{% endblocktrans %}
        <p>
        <p>
        {% url profile_edit_license as change_default_url %}
        {% blocktrans %}Remember that you can change your default license <a href="{{change_default_url}}">here</a>.{% endblocktrans %}
        <form action="{% url image_edit_save_license %}" method="post">{% csrf_token %}
            {{form.as_p}}
            <input type="hidden" name="image_id" value="{{image.id}}"/>
            <ul>
                <li><input class="button submit-button" type="submit" value="{% trans "Save" %} &rarr;" /></li>
                <li><a href="{% url image_detail image.id %}">{% trans "Return to image" %}</a></li>
            </ul>
        </form>
    </div>
{% endblock %}

<commit_msg>Fixes markup typo.<commit_after>{% extends 'base.html' %}
{% load i18n %}
{% load tags %}

{% block content %}
    <div class="info-side-bar">
        <p>{% blocktrans %}This setting only affects the current image.{% endblocktrans %}</p> 
    </div>

    <div class="sided-main-content">
        <h1>{% trans "Change the license for this image" %}</h1>
        {% form_saved request %}
        <p>
            {% blocktrans %}You can associate a Creative Commons license with your content if you wish, to grant people the right to use your work under certain circumstances. For more information on what your options are, please visit the <a target="_blank" href="http://www.creativecommons.org/">Creative Commons website</a>.{% endblocktrans %}
        </p>
        <p>
        {% url profile_edit_license as change_default_url %}
        {% blocktrans %}Remember that you can change your default license <a href="{{change_default_url}}">here</a>.{% endblocktrans %}
        <form action="{% url image_edit_save_license %}" method="post">{% csrf_token %}
            {{form.as_p}}
            <input type="hidden" name="image_id" value="{{image.id}}"/>
            <ul>
                <li><input class="button submit-button" type="submit" value="{% trans "Save" %} &rarr;" /></li>
                <li><a href="{% url image_detail image.id %}">{% trans "Return to image" %}</a></li>
            </ul>
        </form>
    </div>
{% endblock %}


{'fraction_non_alphanumeric': 0.16099930603747398, 'fraction_numerical': 0.002775850104094379, 'mean_word_length': 2.7984189723320156, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7475446', 'n_tokens_mistral': 894, 'n_tokens_neox': 813, 'n_words': 268}