summaryrefslogtreecommitdiffstats
path: root/tpl/objects/radio.pug
blob: 8cb1b1f850c054da01700026c0efda53deb64461 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
mixin radio
    -
        let classes = {
            'o-radio':         true,
            'o-radio--accent': attributes.accent,
        }

    label(class=classes)
        input.o-radio__native(type='radio')&attributes(attributes)
        .o-radio__circle
        .o-radio__label
            block