<commit_before>{% if order.closed %}

{{ form_widget(form, {'attr': {'class': 'span5 twipsy', 'disabled': 'disabled', 'title':'This order is closed!'}}) }}

{% else %}
<form method="post" action="{{ path('sylius_sales_backend_order_status', {'id': order.id}) }}">

{{ form_widget(form, {'attr': {'class': 'span5'}, 'empty_value': 'order status...'}) }}

{{ form_rest(form) }}

<input type="submit" class="btn primary" value="change status" />

</form>
{% endif %}<commit_msg>tweak template.<commit_after>{% if order.closed %}
{{ form_widget(form, {'attr': {'class': 'span5 twipsy', 'disabled': 'disabled', 'title':'This order is closed!'}}) }}
{% else %}
<form method="post" action="{{ path('sylius_sales_backend_order_status', {'id': order.id}) }}">
{{ form_widget(form, {'attr': {'class': 'span5'}, 'empty_value': 'order status...'}) }}
{{ form_rest(form) }}
<input type="submit" class="btn btn-primary" value="change status" />
</form>
{% endif %}
{'fraction_non_alphanumeric': 0.25473684210526315, 'fraction_numerical': 0.004210526315789474, 'mean_word_length': 6.795081967213115, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4631970', 'n_tokens_mistral': 329, 'n_tokens_neox': 312, 'n_words': 75}