{% for item in module.content.ctas %}




	{% inline_text field="custom_button.text_field" value="" %}
	{% set href = item.custom_button.link_field.url.href %}
	{% if item.custom_button.link_field.url.type is equalto "EMAIL_ADDRESS" %}
	  {% set href = "mailto:" + href %}
	{% endif %}
	<a
	  {% if item.custom_button.link_field.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 item.custom_button.link_field.open_in_new_tab %}
	    target="_blank"
	  {% endif %}
	  {% if item.custom_button.link_field.rel %}
	    rel=""
	  {% endif %}
	  >
	  Link text
	</a>
{% endfor %}