include field-label.pug

mixin form
    form(class={
        'l-form':               true,
        'l-form--labels-start': attributes.labelsAlign === 'start',
        'l-form--labels-end':   attributes.labelsAlign === 'end',
        '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