<commit_before>{% extends '@App/Order/base.html.twig' %}

{% block item_amount %}
    <input type="number" class="form-control text-right col-xs-12" name="items[{{ item.id }}]" value="{{ item.amount }}">
{% endblock %}

{% block shipping_name %}
    <input type="text" class="form-control col-xs-12" name="name" value="{{ order.customer.name }}">
{% endblock %}

{% block shipping_email %}
    <input type="email" class="form-control col-xs-12" name="email" value="{{ order.customer.email }}">
{% endblock %}

{% block shipping_address %}
    <textarea class="form-control" name="address" rows="3">{{ order.customer.address }}</textarea>
{% endblock %}

{% block billing_name %}
    <input type="text" class="form-control col-xs-12" name="billing_name" value="{{ order.customer.billing_name }}" placeholder="Ponechte prázdné, shoduje-li se s doručovacím jménem">
{% endblock %}

{% block billing_address %}
    <textarea class="form-control" name="billing_address" rows="3" placeholder="Ponechte prázdné, shoduje-li se s doručovací adresou">{{ order.customer.billing_address }}</textarea>
{% endblock %}

{% block shipping_method %}
    {% set mark_first = order.customer.shipping_method|length == 0 %}
    {% for method in ['Osobní odběr Na Jízdárně 18 (0 Kč)', 'Česká pošta s připojištěním (140 Kč)'] %}
        <div class="radio">
            <label><input type="radio" name="shipping_method" value="{{ method }}"{% if mark_first or method == order.customer.shipping_method %} checked="checked"{% endif %}>{{ method }}</label>
        </div>
        {% set mark_first = false %}
    {% endfor %}
{% endblock %}

{% block payment %}{% endblock %}

{% block content %}
    <form class="form-horizontal">
        {{ parent() }}
        <a href="javascript://void" class="btn btn-primary">
            <span class="glyphicon glyphicon-shopping-cart"></span>
            &nbsp;
            Pokračovat k potvrzení objednávky
        </a>
    </form>
{% endblock %}<commit_msg>Removed address<commit_after>{% extends '@App/Order/base.html.twig' %}

{% block item_amount %}
    <input type="number" class="form-control text-right col-xs-12" name="items[{{ item.id }}]" value="{{ item.amount }}">
{% endblock %}

{% block shipping_name %}
    <input type="text" class="form-control col-xs-12" name="name" value="{{ order.customer.name }}">
{% endblock %}

{% block shipping_email %}
    <input type="email" class="form-control col-xs-12" name="email" value="{{ order.customer.email }}">
{% endblock %}

{% block shipping_address %}
    <textarea class="form-control" name="address" rows="3">{{ order.customer.address }}</textarea>
{% endblock %}

{% block billing_name %}
    <input type="text" class="form-control col-xs-12" name="billing_name" value="{{ order.customer.billing_name }}" placeholder="Ponechte prázdné, shoduje-li se s doručovacím jménem">
{% endblock %}

{% block billing_address %}
    <textarea class="form-control" name="billing_address" rows="3" placeholder="Ponechte prázdné, shoduje-li se s doručovací adresou">{{ order.customer.billing_address }}</textarea>
{% endblock %}

{% block shipping_method %}
    {% set mark_first = order.customer.shipping_method|length == 0 %}
    {% for method in ['Osobní odběr (0 Kč)', 'Česká pošta s připojištěním (140 Kč)'] %}
        <div class="radio">
            <label><input type="radio" name="shipping_method" value="{{ method }}"{% if mark_first or method == order.customer.shipping_method %} checked="checked"{% endif %}>{{ method }}</label>
        </div>
        {% set mark_first = false %}
    {% endfor %}
{% endblock %}

{% block payment %}{% endblock %}

{% block content %}
    <form class="form-horizontal">
        {{ parent() }}
        <a href="javascript://void" class="btn btn-primary">
            <span class="glyphicon glyphicon-shopping-cart"></span>
            &nbsp;
            Pokračovat k potvrzení objednávky
        </a>
    </form>
{% endblock %}
{'fraction_non_alphanumeric': 0.18306636155606407, 'fraction_numerical': 0.00813628273582507, 'mean_word_length': 3.923654568210263, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '2372084', 'n_tokens_mistral': 1380, 'n_tokens_neox': 1267, 'n_words': 286}