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