diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/index.pug | 2 | ||||
-rw-r--r-- | tpl/objects/form.pug | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tpl/index.pug b/tpl/index.pug index 2ebb625..6971faa 100644 --- a/tpl/index.pug +++ b/tpl/index.pug | |||
@@ -276,7 +276,7 @@ html | |||
276 | +rule(level='medium') | 276 | +rule(level='medium') |
277 | 277 | ||
278 | +box | 278 | +box |
279 | +form | 279 | +form(labelsAlign="left") |
280 | +form-item('Username') | 280 | +form-item('Username') |
281 | +text-field(placeholder='Example: Volpeon') | 281 | +text-field(placeholder='Example: Volpeon') |
282 | 282 | ||
diff --git a/tpl/objects/form.pug b/tpl/objects/form.pug index 496ed48..24ac3f0 100644 --- a/tpl/objects/form.pug +++ b/tpl/objects/form.pug | |||
@@ -3,6 +3,7 @@ include field-label.pug | |||
3 | mixin form | 3 | mixin form |
4 | form(class={ | 4 | form(class={ |
5 | 'l-form': true, | 5 | 'l-form': true, |
6 | 'l-form--labels-left': attributes.labelsAlign === 'left', | ||
6 | 'l-form--labels-right': attributes.labelsAlign === 'right', | 7 | 'l-form--labels-right': attributes.labelsAlign === 'right', |
7 | 'l-form--labels-above': attributes.labelsAlign === 'above' | 8 | 'l-form--labels-above': attributes.labelsAlign === 'above' |
8 | }) | 9 | }) |