
{% inline_text field="buttons.button_text" value="" %}
{% set href = module.buttons.button_link.url.href %}
{% if module.buttons.button_link.url.type is equalto "EMAIL_ADDRESS" %}
  {% set href = "mailto:" + href %}
{% endif %}
<a
  {% if module.buttons.button_link.url.type is equalto "CALL_TO_ACTION"  %}
    href="" {# The href here is not escaped as it is not editable and functions as a JavaScript call to the associated CTA #}
  {% else %}
    href=""
  {% endif %}
  {% if module.buttons.button_link.open_in_new_tab %}
    target="_blank"
  {% endif %}
  {% if module.buttons.button_link.rel %}
    rel=""
  {% endif %}
  >
  Link text
</a>
{% inline_text field="buttons.modal_anchor" value="" %}
{% cta guid="" %}