Use col-3 for form labels, so also long labels are shown without linebreak

This commit is contained in:
Jan Böhmer 2019-04-13 18:28:41 +02:00
parent fbfb0269d3
commit 453e7132c0
3 changed files with 17 additions and 9 deletions

View file

@ -10,6 +10,14 @@
{{ parent() }}
{% endblock %}
{% block form_label_class -%}
col-3
{%- endblock form_label_class %}
{% block form_group_class -%}
col-9
{%- endblock form_group_class %}
{#
{% block checkbox_widget -%}
{%- set parent_label_class = parent_label_class|default(label_attr.class|default('')) -%}