Skip to content

Commit

Permalink
Merge pull request #288 from sherlockode/fix/display-error-fields
Browse files Browse the repository at this point in the history
Highlight error fields in content data
  • Loading branch information
Vowow authored May 5, 2023
2 parents 6430d57 + 7567c4d commit bd819a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Layout/preview/column.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{% for key, element in elements %}
{% set childForm = form.children.elements.children[key]|default(null) %}
{% if childForm is not null %}
<div class="acb-field field-row acb-row acb-sortable" data-name="{{ childForm.vars.full_name }}">
<div class="acb-field field-row acb-row acb-sortable" data-name="{{ childForm.vars.full_name }}" {% if childForm.vars.valid == false %}style="border: 1px solid red;" {% endif %}>
{{ common.acb_element_toolbar(childForm) }}
{{ acb_element_preview(element, childForm) }}
</div>
Expand Down

0 comments on commit bd819a5

Please sign in to comment.