<commit_before>{% form_theme form 'DarvinAdminBundle:widget/index/property_form:fields.html.twig' %}

{{ form_start(form, {
    'action': admin_path(entity, constant('Darvin\\AdminBundle\\Route\\AdminRouter::TYPE_UPDATE_PROPERTY'), {
        'property': property,
    }),
    'attr': {
        'class': 'property_form',
    },
}) }}
{{ form_errors(attribute(form, property)) }}
{{ form_widget(attribute(form, property), { 'attr': {
    'autocomplete':        'off',
    'class':               'field',
    'data-original-value': original_value,
} }) }}
{{ form_end(form) }}<commit_msg>Optimize property form template.<commit_after>{% form_theme form 'DarvinAdminBundle:widget/index/property_form:fields.html.twig' %}

{{ form_start(form, {
    'action': admin_path(entity, constant('Darvin\\AdminBundle\\Route\\AdminRouter::TYPE_UPDATE_PROPERTY'), {
        'property': property,
    }),
    'attr': {
        'class': 'property_form',
    },
}) }}

{% set property_form = attribute(form, property) %}

{{ form_errors(property_form) }}
{{ form_widget(property_form, { 'attr': {
    'autocomplete':        'off',
    'class':               'field',
    'data-original-value': original_value,
} }) }}
{{ form_end(form) }}
{'fraction_non_alphanumeric': 0.18621821164889255, 'fraction_numerical': 0.0, 'mean_word_length': 3.8031496062992125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2649452', 'n_tokens_mistral': 394, 'n_tokens_neox': 384, 'n_words': 55}