diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/radio.pug | 6 | ||||
-rw-r--r-- | tpl/objects/text-field.pug | 2 |
2 files changed, 7 insertions, 1 deletions
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 @@ | |||
1 | mixin radio | ||
2 | label.o-radio | ||
3 | input.o-radio__native(type='radio')&attributes(attributes) | ||
4 | .o-radio__circle | ||
5 | .o-radio__label | ||
6 | 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 | |||
9 | } | 9 | } |
10 | 10 | ||
11 | div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) | 11 | div(class=classes aria-disabled=attributes.disabled && String(attributes.disabled)) |
12 | input(class='o-text-field__input')&attributes(attributes) | 12 | input(class='o-text-field__native')&attributes(attributes) |
13 | .o-text-field__bg | 13 | .o-text-field__bg |