<commit_before>{% extends "fabric_interface/layouts/sidebar_double.html" %}

{% load i18n bootstrap3 %}

{% block sidebar_left %}
    <!-- panel/projects -->
    <div class="well well-sm">
        <ul class="nav nav-list">
            <li class="nav-header">{% trans "Projects" %}</li>
            {% for project in project_list %}
                <li class="{% if project.slug == object.slug %}active{% endif %}">
                    <a href="{% url 'project_detail' slug=project.slug %}">{{ project.title }}</a>
                </li>
            {% endfor %}
            <li class="action">
                <a href="{% url 'project_create' %}">
                    <i class="glyphicon glyphicon-plus"></i> {% trans "Add project" %}
                </a>
            </li>
        </ul>
    </div>
    <!-- panel/hosts -->
    <div class="well well-sm">
        <ul class="nav nav-list">
            <li class="nav-header">{% trans "Hosts" %}</li>
            <li><a href="#">Host X</a></li>
            {% for host in host_list %}
                <li><a href="{% url 'project_detail' slug=host.slug %}">{{ host.title }}</a></li>
            {% endfor %}
            <li class="action"><a href=""><i class="glyphicon glyphicon-plus"></i> {% trans "Add host" %}</a></li>
        </ul>
    </div>
    <!-- panel/users -->
    <div class="well well-sm">
        <ul class="nav nav-list">
            <li class="nav-header">{% trans "Users" %}</li>
            <li><a href="#"><NAME></a></li>
            {% for user in user_list %}
                <li><a href="{% url 'project_detail' pk=user.pk %}">{{ user.name }}</a></li>
            {% endfor %}
            <li class="action"><a href=""><i class="glyphicon glyphicon-plus"></i> {% trans "Add user" %}</a></li>
        </ul>
    </div>
{% endblock %}

{% block content %}
    <h4>{% if object %}{% trans "Edit project" %}{% else %}{% trans "Add stage" %}{% endif %}</h4>
    <hr />
    <form method="post" role="form">
        {% csrf_token %}
        {% for field in form %}
            <div class="form-group">
                {% bootstrap_field field %}
            </div>
        {% endfor %}
        {% buttons %}
            <button type="submit" class="btn btn-default">
                {% if object %}{% trans "Update/Delete" %}{% else %}{% bootstrap_icon "plus" %}  {% trans "Create" %}{% endif %}
            </button>
        {% endbuttons %}
    </form>
{% endblock %}<commit_msg>cleanup<commit_after>{% extends "fabric_interface/layouts/sidebar_double.html" %}

{% load i18n bootstrap3 %}

{% block sidebar_left %}
    <!-- panel/projects -->
    <div class="well well-sm">
        <ul class="nav nav-list">
            <li class="nav-header">{% trans "Projects" %}</li>
            {% for project in project_list %}
                <li class="{% if project.slug == object.slug %}active{% endif %}">
                    <a href="{% url 'project_detail' slug=project.slug %}">{{ project.title }}</a>
                </li>
            {% endfor %}
            <li class="action">
                <a href="{% url 'project_create' %}">
                    <i class="glyphicon glyphicon-plus"></i> {% trans "Add project" %}
                </a>
            </li>
        </ul>
    </div>
    <!-- panel/hosts -->
    <div class="well well-sm">
        <ul class="nav nav-list">
            <li class="nav-header">{% trans "Hosts" %}</li>
            <li><a href="#">Host X</a></li>
            {% for host in host_list %}
                <li><a href="{% url 'project_detail' slug=host.slug %}">{{ host.title }}</a></li>
            {% endfor %}
            <li class="action"><a href=""><i class="glyphicon glyphicon-plus"></i> {% trans "Add host" %}</a></li>
        </ul>
    </div>
    <!-- panel/users -->
    <div class="well well-sm">
        <ul class="nav nav-list">
            <li class="nav-header">{% trans "Users" %}</li>
            <li><a href="#"><NAME></a></li>
            {% for user in user_list %}
                <li><a href="{% url 'project_detail' pk=user.pk %}">{{ user.name }}</a></li>
            {% endfor %}
            <li class="action"><a href=""><i class="glyphicon glyphicon-plus"></i> {% trans "Add user" %}</a></li>
        </ul>
    </div>
{% endblock %}

{% block content %}
    <h4>{% if object %}{% trans "Edit stage" %}{% else %}{% trans "Add stage" %}{% endif %}</h4>
    <hr />
    <form method="post" role="form">
        {% csrf_token %}
        {% for field in form %}
            <div class="form-group">
                {% bootstrap_field field %}
            </div>
        {% endfor %}
        {% buttons %}
            <button type="submit" class="btn btn-default">
                {% if object %}{% trans "Update/Delete" %}{% else %}{% bootstrap_icon "plus" %}  {% trans "Create" %}{% endif %}
            </button>
        {% endbuttons %}
    </form>
{% endblock %}
{'fraction_non_alphanumeric': 0.2132021320213202, 'fraction_numerical': 0.002050020500205002, 'mean_word_length': 1.8448979591836734, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, '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': '3225880', 'n_tokens_mistral': 1643, 'n_tokens_neox': 1478, 'n_words': 360}