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