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