Commit 34b3ef70 authored by Jeremiah Davis's avatar Jeremiah Davis
Browse files

Don’t render label html unless a variable is passed.

parent a7cf152c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@

<div{{ attributes.addClass(classes) }}>
  {{ title_prefix }}
  {% if not label_hidden %}
  {% if not label_hidden and label %}
    <div{{ title_attributes.addClass(title_classes) }}>{{ label }}</div>
  {% endif %}
  {{ title_suffix }}