{% load form_block %} {% with styles=form_block.form.label_class.LabelStyle %} {% with label=labels|get_by_style:styles.VERTICAL %} {% with hlabel=labels|get_by_style:styles.HORIZONTAL %} {% with wlabel=labels|get_by_style:styles.WIDGET %} {% if label %}