diff options
Diffstat (limited to 'tpl/objects/radio.pug')
| -rw-r--r-- | tpl/objects/radio.pug | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tpl/objects/radio.pug b/tpl/objects/radio.pug index da6a026..8cb1b1f 100644 --- a/tpl/objects/radio.pug +++ b/tpl/objects/radio.pug | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | mixin radio | 1 | mixin radio |
| 2 | label.o-radio | 2 | - |
| 3 | let classes = { | ||
| 4 | 'o-radio': true, | ||
| 5 | 'o-radio--accent': attributes.accent, | ||
| 6 | } | ||
| 7 | |||
| 8 | label(class=classes) | ||
| 3 | input.o-radio__native(type='radio')&attributes(attributes) | 9 | input.o-radio__native(type='radio')&attributes(attributes) |
| 4 | .o-radio__circle | 10 | .o-radio__circle |
| 5 | .o-radio__label | 11 | .o-radio__label |
