blob: 496ed489268cb11bf47b6b58b3dc35fd80f22daf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
include field-label.pug
mixin form
form(class={
'l-form': true,
'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
|