<commit_before><?php
$fieldError = form_error($field->fieldName);
?>
<div
    class="form-group<?=
    $this->previewMode ? ' form-group-preview' : ''
    ?><?= ($fieldError != '') ? ' is-invalid' : ''
    ?> <?= $field->type ?>-field span-<?= $field->span ?> <?= $field->cssClass ?>"
    <?= $field->getAttributes('container') ?>
    id="<?= $field->getId('group') ?>"><?=
    /* Must be on the same line for :empty selector */
    trim($this->makePartial('form/field', ['field' => $field]));
    ?></div><commit_msg>Add data-field-name attribute to admin form field container<commit_after><?php
$fieldError = form_error($field->fieldName);
?>
<div
    class="form-group<?=
    $this->previewMode ? ' form-group-preview' : ''
    ?><?= ($fieldError != '') ? ' is-invalid' : ''
    ?> <?= $field->type ?>-field span-<?= $field->span ?> <?= $field->cssClass ?>"
    <?= $field->getAttributes('container') ?>
    data-field-name="<?= $field->fieldName ?>"
    id="<?= $field->getId('group') ?>"><?=
    /* Must be on the same line for :empty selector */
    trim($this->makePartial('form/field', ['field' => $field]));
    ?></div>
{'fraction_non_alphanumeric': 0.2630646589902569, 'fraction_numerical': 0.0, 'mean_word_length': 3.8290598290598292, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 45, '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': '3858330', 'n_tokens_mistral': 365, 'n_tokens_neox': 377, 'n_words': 68}