summaryrefslogtreecommitdiffstats
path: root/tpl/views/radio.pug
blob: 283bb4e832f80c9a179502d625c1faab81eb7e03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mixin view-radio 
    +view('radio', 'Radio')
        .c-box
            +radio(name="radio-demo-1")= 'Cats'
            +radio(name="radio-demo-1")= 'Dogs'
            +radio(name="radio-demo-1" checked=true)= 'Foxes'
            br
            +radio(name="radio-demo-2" disabled=true)= 'Cats'
            +radio(name="radio-demo-2" disabled=true)= 'Dogs'
            +radio(name="radio-demo-2" checked=true disabled=true)= 'Foxes'
            br
            +radio(accent=true name="radio-demo-3")= 'Cats'
            +radio(accent=true name="radio-demo-3")= 'Dogs'
            +radio(accent=true name="radio-demo-3" checked=true)= 'Foxes'
            br
            +radio(accent=true name="radio-demo-4" disabled=true)= 'Cats'
            +radio(accent=true name="radio-demo-4" disabled=true)= 'Dogs'
            +radio(accent=true name="radio-demo-4" checked=true disabled=true)= 'Foxes'