blob: 24ac3f0f3178edcc01fe2720bc03821c84ced058 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
include field-label.pug
mixin form
form(class={
'l-form': true,
'l-form--labels-left': attributes.labelsAlign === 'left',
'l-form--labels-right': attributes.labelsAlign === 'right',
'l-form--labels-above': attributes.labelsAlign === 'above'
})
block
mixin form-item(label, hint=null)
+field-label(label, hint)(class='l-form__item' labelClass='l-form__item-label' contentClass='l-form__item-content')
block
|