<button
  type="button"
  class="{{ ['js-dcaw-compare-btn', 'dcaw-compare-btn', class]|join(' ') }}"
  data-id="{{ id }}"
  data-title="{{ title }}"
  data-show-popup="{{ show_popup }}"
>
  {% if text %}
    <span>{{ text }}</span>
  {% endif %}
  {% if icon %}
    {{ icon|raw }}
  {% endif %}
</button>
