<commit_before>{$baseId = $_element->getId()}
{$value = $_element->getValue()}
<ul id="{$baseId}-list">
    {foreach $_element->getMultioptions() as $key => $caption)}
        {$keyUrl = $key|url}
        {* reset pola *}
        {$unused = $_element->setValue($key)->unsetOption('checked')->setId($baseId . '-' . $keyUrl)}
        {* ustalenie zaznaczenia *}
        {if $value !== null && $value == $key}
            {$_element->setOption('checked', '')}
        {/if}
        {* wartość wyłączona *}
        {if php_strpos($key, ':disabled') !== false)}
            {$a = $_element->setDisabled()}
        {/if}
        <li id="{$_element->getId()}-item">
            <input type="radio" {$_htmlOptions} />
            <label for="{$_element->getId()}">{$caption}</label><commit_msg>radio template fix<commit_after>{$baseId = $_element->getId()}
{$value = $_element->getValue()}
<ul id="{$baseId}-list">
    {foreach $_element->getMultioptions() as $key => $caption}
        {$keyUrl = $key|url}
        {* reset pola *}
        {$unused = $_element->setValue($key)->unsetOption('checked')->setId($baseId . '-' . $keyUrl)}
        {* ustalenie zaznaczenia *}
        {if $value !== null && $value == $key}
            {$_element->setOption('checked', '')}
        {/if}
        {* wartość wyłączona *}
        {if php_strpos($key, ':disabled') !== false}
            {$a = $_element->setDisabled()}
        {/if}
        <li id="{$_element->getId()}-item">
            <input type="radio" {$_htmlOptions} />
            <label for="{$_element->getId()}">{$caption}</label>
{'fraction_non_alphanumeric': 0.22603174603174603, 'fraction_numerical': 0.0, 'mean_word_length': 2.65661252900232, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 35, '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': '927842', 'n_tokens_mistral': 506, 'n_tokens_neox': 519, 'n_words': 87}