From b2e7a1fac1613f63e879b22c577500de0b033fdc Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 5 Feb 2022 19:33:35 +0100 Subject: Added radio --- tpl/objects/radio.pug | 6 ++++++ tpl/objects/text-field.pug | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 tpl/objects/radio.pug (limited to 'tpl/objects') diff --git a/tpl/objects/radio.pug b/tpl/objects/radio.pug new file mode 100644 index 0000000..da6a026 --- /dev/null +++ b/tpl/objects/radio.pug @@ -0,0 +1,6 @@ +mixin radio + label.o-radio + input.o-radio__native(type='radio')&attributes(attributes) + .o-radio__circle + .o-radio__label + block diff --git a/tpl/objects/text-field.pug b/tpl/objects/text-field.pug index 9069200..c933b69 100644 --- a/tpl/objects/text-field.pug +++ b/tpl/objects/text-field.pug @@ -9,5 +9,5 @@ mixin text-field } div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) - input(class='o-text-field__input')&attributes(attributes) + input(class='o-text-field__native')&attributes(attributes) .o-text-field__bg -- cgit v1.2.3-70-g09d2