Skip to content

Commit 2f57a15

Browse files
vudaltsovnicolas-grekas
authored andcommitted
Removed .mb-0 in errors.
1 parent 4570060 commit 2f57a15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Resources/views/Form/bootstrap_4_layout.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
{%- if errors|length > 0 -%}
269269
<span class="{% if form is not rootform %}invalid-feedback{% else %}alert alert-danger{% endif %} d-block">
270270
{%- for error in errors -%}
271-
<span class="mb-0 d-block">
271+
<span class="d-block">
272272
<span class="form-error-icon badge badge-danger text-uppercase">{{ 'Error'|trans({}, 'validators') }}</span> <span class="form-error-message">{{ error.message }}</span>
273273
</span>
274274
{%- endfor -%}

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"symfony/asset": "~2.8|~3.0|~4.0",
2424
"symfony/dependency-injection": "~2.8|~3.0|~4.0",
2525
"symfony/finder": "~2.8|~3.0|~4.0",
26-
"symfony/form": "^3.4.9|^4.0.9",
26+
"symfony/form": "^3.4.13|~4.0.13|^4.1.2",
2727
"symfony/http-foundation": "^3.3.11|~4.0",
2828
"symfony/http-kernel": "~3.2|~4.0",
2929
"symfony/polyfill-intl-icu": "~1.0",
@@ -41,7 +41,7 @@
4141
"symfony/workflow": "~3.3|~4.0"
4242
},
4343
"conflict": {
44-
"symfony/form": "<3.4.9|<4.0.9,>=4.0",
44+
"symfony/form": "<3.4.13|>=4.0,<4.0.13|>=4.1,<4.1.2",
4545
"symfony/console": "<3.4"
4646
},
4747
"suggest": {

0 commit comments

Comments
 (0)