Commit | Line | Data |
---|---|---|
a63f9b97 MS |
1 | <ol class="flexibleButtonGroup"> |
2 | <li> | |
7162e7b4 | 3 | <input type="radio" {* |
4def26c2 TD |
4 | *}id="{$field->getPrefixedId()}" {* |
5 | *}name="{$field->getPrefixedId()}" {* | |
7162e7b4 | 6 | *}value="1" {* |
4def26c2 | 7 | *}data-no-input-id="{$field->getPrefixedId()}_no"{* |
7162e7b4 MS |
8 | *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* |
9 | *}{if $field->isAutofocused()} autofocus{/if}{* | |
10 | *}{if $field->isRequired()} required{/if}{* | |
11 | *}{if $field->isImmutable()} disabled{/if}{* | |
12 | *}{if $field->getValue()} checked{/if}{* | |
a0bff006 | 13 | *}{foreach from=$field->getFieldAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{* |
7162e7b4 | 14 | *}> |
4def26c2 | 15 | <label for="{$field->getPrefixedId()}" class="green">{icon name='check'} {lang}wcf.global.form.boolean.yes{/lang}</label> |
a63f9b97 MS |
16 | </li> |
17 | <li> | |
7162e7b4 | 18 | <input type="radio" {* |
4def26c2 TD |
19 | *}id="{$field->getPrefixedId()}_no" {* |
20 | *}name="{$field->getPrefixedId()}" {* | |
7162e7b4 MS |
21 | *}value="0"{* |
22 | *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* | |
23 | *}{if $field->isImmutable()} disabled{/if}{* | |
24 | *}{if !$field->getValue()} checked{/if}{* | |
a0bff006 | 25 | *}{foreach from=$field->getFieldAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{* |
7162e7b4 | 26 | *}> |
4def26c2 | 27 | <label for="{$field->getPrefixedId()}_no" class="red">{icon name='xmark'} {lang}wcf.global.form.boolean.no{/lang}</label> |
a63f9b97 MS |
28 | </li> |
29 | </ol> |