<commit_before><div class="page-header">
    <h2><?= t('Edit a sub-task') ?></h2>
</div>

<form method="post" action="<?= $this->u('subtask', 'update', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>" autocomplete="off">

    <?= $this->formCsrf() ?>

    <?= $this->formHidden('id', $values) ?>
    <?= $this->formHidden('task_id', $values) ?>

    <?= $this->formLabel(t('Title'), 'title') ?>
    <?= $this->formText('title', $values, $errors, array('required', 'autofocus', 'maxlength="50"')) ?><br/>

    <?= $this->formLabel(t('Assignee'), 'user_id') ?>
    <?= $this->formSelect('user_id', $users_list, $values, $errors) ?><br/>

    <?= $this->formLabel(t('Original estimate'), 'time_estimated') ?>
    <?= $this->formNumeric('time_estimated', $values, $errors) ?> <?= t('hours') ?><br/>

    <?= $this->formLabel(t('Time spent'), 'time_spent') ?>
    <?= $this->formNumeric('time_spent', $values, $errors) ?> <?= t('hours') ?><br/>

    <div class="form-actions">
        <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
        <?= t('or') ?>
        <?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
    </div>
</form>
<commit_msg>Edit subtask with title maxlength 100.<commit_after><div class="page-header">
    <h2><?= t('Edit a sub-task') ?></h2>
</div>

<form method="post" action="<?= $this->u('subtask', 'update', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>" autocomplete="off">

    <?= $this->formCsrf() ?>

    <?= $this->formHidden('id', $values) ?>
    <?= $this->formHidden('task_id', $values) ?>

    <?= $this->formLabel(t('Title'), 'title') ?>
    <?= $this->formText('title', $values, $errors, array('required', 'autofocus', 'maxlength="100"')) ?><br/>

    <?= $this->formLabel(t('Assignee'), 'user_id') ?>
    <?= $this->formSelect('user_id', $users_list, $values, $errors) ?><br/>

    <?= $this->formLabel(t('Original estimate'), 'time_estimated') ?>
    <?= $this->formNumeric('time_estimated', $values, $errors) ?> <?= t('hours') ?><br/>

    <?= $this->formLabel(t('Time spent'), 'time_spent') ?>
    <?= $this->formNumeric('time_spent', $values, $errors) ?> <?= t('hours') ?><br/>

    <div class="form-actions">
        <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
        <?= t('or') ?>
        <?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
    </div>
</form>

{'fraction_non_alphanumeric': 0.29822530864197533, 'fraction_numerical': 0.004629629629629629, 'mean_word_length': 4.749445676274944, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 101, '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': '4712539', 'n_tokens_mistral': 968, 'n_tokens_neox': 945, 'n_words': 155}