Remove all panel classes (which cause ugly lines) from fieldset

This commit is contained in:
benjamin melançon 2018-12-11 12:13:41 -05:00
parent ab8f6af51d
commit dd93a790af

View file

@ -25,7 +25,6 @@
#}
{%
set classes = [
'panel',
'js-form-item',
'form-item',
'js-form-wrapper',
@ -36,7 +35,6 @@
{%
set legend_span_classes = [
'form-label',
'panel-heading',
'fieldset-legend',
required ? 'js-form-required',
required ? 'form-required',
@ -44,7 +42,7 @@
%}
<p{{ legend_span.attributes.addClass(legend_span_classes) }}>{{ legend.title }}</p>
<div class="panel-block fieldset-wrapper">
<div class="fieldset-wrapper">
{% if errors %}
<div>
{{ errors }}