Commit a7cf152c authored by Jeremiah Davis's avatar Jeremiah Davis
Browse files

Don’t render label html unless a variable is passed

parent 8839879a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ set title_classes = [

<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 }}