<commit_before>{% extends "app_vendor.html" %}{% load i18n %}

{% load compressed %}
{% load staticfiles %}

{% block head %}
    {% compressed_css 'general' %}
    {% compressed_css 'price_tags' %}
    {% compressed_js 'general' %}
    {% compressed_js 'jeditable' %}
    {% compressed_js 'price_tags' %}
    <script type="text/javascript" src="{% url 'django.views.i18n.javascript_catalog' %}"></script>
{% endblock %}

{% block body %}
    <form id="item-add-form" method="POST" class="form-horizontal">
        {% csrf_token %}
        <p class="help-block">
            {% blocktrans %}Set the name and price of your item and press 'Add item'.
            Name and price can be modified later.{% endblocktrans %}
        </p>
        <p class="help-block">
            {% blocktrans %}Modify the size of the price tags by setting size.
            Size can be modified later by pressing the arrow button on the price tag.{% endblocktrans %}
        </p>
        <p class="help-block">
            {% blocktrans %}Register more than one similar items at once by adding a suffix.
            Name 'Manga ' and suffix '1-3' would create items 'Manga 1', 'Manga 2' and 'Manga 3'.
            Suffix 'Blue Red' would create items 'Manga Blue' and 'Manga Red'.{% endblocktrans %}
        </p>
        <div class="form-group">
            <label for="item-add-name" class="col-sm-1 control-label">{% trans "Name:" %}</label>
            <div class="col-sm-6">
                <input id="item-add-name" type="text" class="form-control" placeholder="{% trans "Ranma ½ Vol." %}" />
            </div>

            <label for="item-add-suffixes" class="col-sm-1 control-label">{% trans "Suffixes:" %}</label>
            <div class="col-sm-4 ">
                <input id="item-add-suffixes" type="text" class="form-control" placeholder="{% trans "1 3-5  A B  Blue" %}" />
            </div>
        </div>
        <div class="form-group">
            <label for="item-add-price" class="col-sm-1 control-label">{% trans "Price:" %}</label>
            <div class="col-sm-2">
                <input id="item-add-price" type="text" class="form-control" placeholder="5" />
            </div>
            <label class="control-label">&euro;</label>
        </div>
        <div class="form-group">
            <label class="col-sm-1 control-label">{% trans "Size:" %}</label>
            <div class="col-sm-4">
                <label class="radio-inline">
                    <input name="item-add-type" value="tiny" type="radio" />{% trans "Tiny" %}
                </label>
                <label class="radio-inline">
                    <input name="item-add-type" value="short" type="radio" checked="checked" />{% trans "Short" %}
                </label>
                <label class="radio-inline">
                    <input name="item-add-type" value="long" type="radio" />{% trans "Long" %}
                </label>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-1 col-sm-5">
                <button id="add_short_item" type="button" class="btn btn-primary">{% trans "Add item" %}</button>
                <button id="list_view" type="button" class="btn btn-default">{% trans "Toggle List View" %}</button>
            </div>
            <div class="col-sm-6 text-right"><commit_msg>Move price tag list control button away from the item add form.<commit_after>{% extends "app_vendor.html" %}{% load i18n %}

{% load compressed %}
{% load staticfiles %}

{% block head %}
    {% compressed_css 'general' %}
    {% compressed_css 'price_tags' %}
    {% compressed_js 'general' %}
    {% compressed_js 'jeditable' %}
    {% compressed_js 'price_tags' %}
    <script type="text/javascript" src="{% url 'django.views.i18n.javascript_catalog' %}"></script>
{% endblock %}

{% block body %}
    <form id="item-add-form" method="POST" class="form-horizontal">
        {% csrf_token %}
        <p class="help-block">
            {% blocktrans %}Set the name and price of your item and press 'Add item'.
            Name and price can be modified later.{% endblocktrans %}
        </p>
        <p class="help-block">
            {% blocktrans %}Modify the size of the price tags by setting size.
            Size can be modified later by pressing the arrow button on the price tag.{% endblocktrans %}
        </p>
        <p class="help-block">
            {% blocktrans %}Register more than one similar items at once by adding a suffix.
            Name 'Manga ' and suffix '1-3' would create items 'Manga 1', 'Manga 2' and 'Manga 3'.
            Suffix 'Blue Red' would create items 'Manga Blue' and 'Manga Red'.{% endblocktrans %}
        </p>
        <div class="form-group">
            <label for="item-add-name" class="col-sm-1 control-label">{% trans "Name:" %}</label>
            <div class="col-sm-6">
                <input id="item-add-name" type="text" class="form-control" placeholder="{% trans "Ranma ½ Vol." %}" />
            </div>

            <label for="item-add-suffixes" class="col-sm-1 control-label">{% trans "Suffixes:" %}</label>
            <div class="col-sm-4 ">
                <input id="item-add-suffixes" type="text" class="form-control" placeholder="{% trans "1 3-5  A B  Blue" %}" />
            </div>
        </div>
        <div class="form-group">
            <label for="item-add-price" class="col-sm-1 control-label">{% trans "Price:" %}</label>
            <div class="col-sm-2">
                <input id="item-add-price" type="text" class="form-control" placeholder="5" />
            </div>
            <label class="control-label">&euro;</label>
        </div>
        <div class="form-group">
            <label class="col-sm-1 control-label">{% trans "Size:" %}</label>
            <div class="col-sm-4">
                <label class="radio-inline">
                    <input name="item-add-type" value="tiny" type="radio" />{% trans "Tiny" %}
                </label>
                <label class="radio-inline">
                    <input name="item-add-type" value="short" type="radio" checked="checked" />{% trans "Short" %}
                </label>
                <label class="radio-inline">
                    <input name="item-add-type" value="long" type="radio" />{% trans "Long" %}
                </label>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-1 col-sm-11">
                <button id="add_short_item" type="button" class="btn btn-primary">{% trans "Add item" %}</button>
                <button id="list_view" type="button" class="btn btn-default">{% trans "Toggle List View" %}</button>
            </div>
        </div>

    </form>

    <form id="item-add-form" method="POST" class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-12">
{'fraction_non_alphanumeric': 0.17111987151408964, 'fraction_numerical': 0.0073003358154475105, 'mean_word_length': 2.1264262893655865, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4607724', 'n_tokens_mistral': 2156, 'n_tokens_neox': 1991, 'n_words': 541}