From b2e7a1fac1613f63e879b22c577500de0b033fdc Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 5 Feb 2022 19:33:35 +0100 Subject: Added radio --- tpl/index.pug | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tpl/index.pug') diff --git a/tpl/index.pug b/tpl/index.pug index e3918de..93c2057 100644 --- a/tpl/index.pug +++ b/tpl/index.pug @@ -8,6 +8,7 @@ include objects/rule.pug include objects/button.pug include objects/text-field.pug include objects/field-label.pug +include objects/radio.pug mixin box +container(padX=true padY=true inPage=true theme="raised") @@ -199,3 +200,17 @@ html br +field-label('Password', 'At least 6 characters required')(align='right' labelWidth='100px' invalid=true disabled=true) +text-field(placeholder='Placeholder' type='password' invalid=true disabled=true) + + //----------------------------------------- + + +h1-heading(level='xl')= 'Radio' + +rule(level='medium') + + +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' -- cgit v1.2.3-70-g09d2