diff options
Diffstat (limited to 'tpl/objects/text-field.pug')
| -rw-r--r-- | tpl/objects/text-field.pug | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tpl/objects/text-field.pug b/tpl/objects/text-field.pug index 53d1362..d5c4444 100644 --- a/tpl/objects/text-field.pug +++ b/tpl/objects/text-field.pug | |||
| @@ -14,9 +14,9 @@ mixin text-field | |||
| 14 | 'o-text-field--extended': !!block, | 14 | 'o-text-field--extended': !!block, |
| 15 | 'is-invalid': attributes.invalid, | 15 | 'is-invalid': attributes.invalid, |
| 16 | 'is-disabled': attributes.disabled, | 16 | 'is-disabled': attributes.disabled, |
| 17 | 'l-card': !!block, | 17 | 'l-media': !!block, |
| 18 | 'l-card--flush': !!block, | 18 | 'l-media--flush': !!block, |
| 19 | 'l-card--gapless': !!block, | 19 | 'l-media--gapless': !!block, |
| 20 | } | 20 | } |
| 21 | if (attributes.class) { | 21 | if (attributes.class) { |
| 22 | classes[attributes.class] = true; | 22 | classes[attributes.class] = true; |
| @@ -32,7 +32,7 @@ mixin text-field | |||
| 32 | if slots.pre | 32 | if slots.pre |
| 33 | .u-d-contents.t-hi | 33 | .u-d-contents.t-hi |
| 34 | - slots.pre() | 34 | - slots.pre() |
| 35 | input.o-text-field__native.l-card__block.l-card__block--main&attributes(attr) | 35 | input.o-text-field__native.l-media__block.l-media__block--main&attributes(attr) |
| 36 | if slots.post | 36 | if slots.post |
| 37 | .u-d-contents.t-hi | 37 | .u-d-contents.t-hi |
| 38 | - slots.post() | 38 | - slots.post() |
