diff options
Diffstat (limited to 'tpl/views/radio.pug')
| -rw-r--r-- | tpl/views/radio.pug | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tpl/views/radio.pug b/tpl/views/radio.pug new file mode 100644 index 0000000..283bb4e --- /dev/null +++ b/tpl/views/radio.pug | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | mixin view-radio | ||
| 2 | +view('radio', 'Radio') | ||
| 3 | .c-box | ||
| 4 | +radio(name="radio-demo-1")= 'Cats' | ||
| 5 | +radio(name="radio-demo-1")= 'Dogs' | ||
| 6 | +radio(name="radio-demo-1" checked=true)= 'Foxes' | ||
| 7 | br | ||
| 8 | +radio(name="radio-demo-2" disabled=true)= 'Cats' | ||
| 9 | +radio(name="radio-demo-2" disabled=true)= 'Dogs' | ||
| 10 | +radio(name="radio-demo-2" checked=true disabled=true)= 'Foxes' | ||
| 11 | br | ||
| 12 | +radio(accent=true name="radio-demo-3")= 'Cats' | ||
| 13 | +radio(accent=true name="radio-demo-3")= 'Dogs' | ||
| 14 | +radio(accent=true name="radio-demo-3" checked=true)= 'Foxes' | ||
| 15 | br | ||
| 16 | +radio(accent=true name="radio-demo-4" disabled=true)= 'Cats' | ||
| 17 | +radio(accent=true name="radio-demo-4" disabled=true)= 'Dogs' | ||
| 18 | +radio(accent=true name="radio-demo-4" checked=true disabled=true)= 'Foxes' | ||
