diff --git a/assets/css/app.css b/assets/css/app.css index 135ad25c..1a5d7f5e 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -620,6 +620,10 @@ BS 4 overrides } } +.form-group > label { + font-weight: bold; +} + label:not(.form-check-label, custom-control-label) { font-weight: bold; } diff --git a/templates/Parts/edit/_orderdetails.html.twig b/templates/Parts/edit/_orderdetails.html.twig index 23bb5240..2212c1fc 100644 --- a/templates/Parts/edit/_orderdetails.html.twig +++ b/templates/Parts/edit/_orderdetails.html.twig @@ -1,4 +1,4 @@ -{% form_theme form 'Parts/edit/edit_form_styles.html.twig' %} +{% form_theme form with ['Parts/edit/edit_form_styles.html.twig', "bootstrap_4_layout.html.twig"] %} diff --git a/templates/Parts/edit/edit_form_styles.html.twig b/templates/Parts/edit/edit_form_styles.html.twig index a42798d6..fd6ac2d2 100644 --- a/templates/Parts/edit/edit_form_styles.html.twig +++ b/templates/Parts/edit/edit_form_styles.html.twig @@ -1,18 +1,20 @@ {% block pricedetail_widget %} + {% form_theme form.currency 'Form/extendedBootstrap4_layout.html.twig' %} + - + - - + @@ -22,10 +24,10 @@ {% block orderdetail_widget %}
{{ form_widget(form.minDiscountQuantity) }} {{ form_errors(form.minDiscountQuantity) }}{{ form_widget(form.minDiscountQuantity, {'attr': {'class': 'form-control-sm'}}) }} {{ form_errors(form.minDiscountQuantity) }} -
+
{{ form_widget(form.price) }}
- {{ form_widget(form.currency) }} + {{ form_widget(form.currency, {'attr': {'class': 'selectpicker form-control-sm'}}) }}
{{ form_errors(form.price) }} {{ form_errors(form.currency) }}
{{ form_widget(form.priceRelatedQuantity) }} {{ form_errors(form.price) }}{{ form_widget(form.priceRelatedQuantity, {'attr': {'class': 'form-control-sm'}}) }} {{ form_errors(form.price) }}
- {{ form_row(form.supplierpartnr) }} - {{ form_row(form.supplier) }} - {{ form_row(form.supplierProductUrl) }} - {{ form_row(form.obsolete) }} + {{ form_row(form.supplierpartnr, {'attr': {'class': 'form-control-sm'}}) }} + {{ form_row(form.supplier, {'attr': {'class': 'form-control-sm'}}) }} + {{ form_row(form.supplierProductUrl, {'attr': {'class': 'form-control-sm'}}) }} + {{ form_widget(form.obsolete) }} @@ -50,9 +52,8 @@
-