Added the possibility to add additional CSS to label.

This commit is contained in:
Jan Böhmer 2020-05-04 22:19:06 +02:00
parent 8b372a3443
commit fde1d7be4f
6 changed files with 116 additions and 23 deletions

View file

@ -46,25 +46,6 @@
{{ form_errors(form.value) }}
{% endblock %}
{% block label_options_widget %}
{{ form_row(form.supported_element) }}
<div class="form-group row">
{{ form_label(form.width) }}
<div class="input-group col-9">
{{ form_widget(form.width) }}
<div class="input-group-append input-group-prepend">
<span class="input-group-text">x</span>
</div>
{{ form_widget(form.height) }}
<div class="input-group-append">
<span class="input-group-text">mm</span>
</div>
</div>
</div>
{{ form_row(form.barcode_type) }}
{{ form_row(form.lines) }}
{% endblock %}
{#######################################################################################
#
# Definitions for Tristate Checkbox Type (mostly based on bootstrap checkbox type)