{% inline_text field="left_part.title" value="" %}
{% inline_text field="left_part.button.text" value="" %}
{% set href = module.left_part.button.link.url.href %}
{% if module.left_part.button.link.url.type is equalto "EMAIL_ADDRESS" %}
  {% set href = "mailto:" + href %}
{% endif %}
<a
  {% if module.left_part.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.left_part.button.link.open_in_new_tab %}
    target="_blank"
  {% endif %}
  {% if module.left_part.button.link.rel %}
    rel=""
  {% endif %}
  >
  Link text
</a>
