Commit | Line | Data |
---|---|---|
a63f9b97 MS |
1 | <ol class="flexibleButtonGroup"> |
2 | <li> | |
7162e7b4 MS |
3 | <input type="radio" {* |
4 | *}id="{@$field->getPrefixedId()}" {* | |
5 | *}name="{@$field->getPrefixedId()}" {* | |
6 | *}value="1" {* | |
7 | *}data-no-input-id="{@$field->getPrefixedId()}_no"{* | |
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}{* | |
13 | *}> | |
a63f9b97 MS |
14 | <label for="{@$field->getPrefixedId()}" class="green"><span class="icon icon16 fa-check"></span> {lang}wcf.global.form.boolean.yes{/lang}</label> |
15 | </li> | |
16 | <li> | |
7162e7b4 MS |
17 | <input type="radio" {* |
18 | *}id="{@$field->getPrefixedId()}_no" {* | |
19 | *}name="{@$field->getPrefixedId()}" {* | |
20 | *}value="0"{* | |
21 | *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* | |
22 | *}{if $field->isImmutable()} disabled{/if}{* | |
23 | *}{if !$field->getValue()} checked{/if}{* | |
24 | *}> | |
a63f9b97 MS |
25 | <label for="{@$field->getPrefixedId()}_no" class="red"><span class="icon icon16 fa-times"></span> {lang}wcf.global.form.boolean.no{/lang}</label> |
26 | </li> | |
27 | </ol> |