{% inline_text field="bannerform_content.bannerform_deatils.title" value="" %}
{% inline_text field="bannerform_content.bannerform_deatils.description" value="" %}
{% inline_text field="bannerform_content.bannerform_deatils.button_1.button_text" value="" %}
{% set href = module.bannerform_content.bannerform_deatils.button_1.button_link.url.href %}
{% if module.bannerform_content.bannerform_deatils.button_1.button_link.url.type is equalto "EMAIL_ADDRESS" %}
  {% set href = "mailto:" + href %}
{% elif module.bannerform_content.bannerform_deatils.button_1.button_link.url.type is equalto "PHONE_NUMBER" %}
  {% set href = "tel:" + href %}
{% endif %}
<a
  {% if module.bannerform_content.bannerform_deatils.button_1.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.bannerform_content.bannerform_deatils.button_1.button_link.open_in_new_tab %}
    target="_blank"
  {% endif %}
  {% if module.bannerform_content.bannerform_deatils.button_1.button_link.rel %}
    rel=""
  {% endif %}
  >
  Link text
</a>
{% inline_text field="bannerform_content.bannerform_deatils.button_2.button_text" value="" %}
{% set href = module.bannerform_content.bannerform_deatils.button_2.button_link.url.href %}
{% if module.bannerform_content.bannerform_deatils.button_2.button_link.url.type is equalto "EMAIL_ADDRESS" %}
  {% set href = "mailto:" + href %}
{% elif module.bannerform_content.bannerform_deatils.button_2.button_link.url.type is equalto "PHONE_NUMBER" %}
  {% set href = "tel:" + href %}
{% endif %}
<a
  {% if module.bannerform_content.bannerform_deatils.button_2.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.bannerform_content.bannerform_deatils.button_2.button_link.open_in_new_tab %}
    target="_blank"
  {% endif %}
  {% if module.bannerform_content.bannerform_deatils.button_2.button_link.rel %}
    rel=""
  {% endif %}
  >
  Link text
</a>
{% if module.bannerform_content.bannerform_deatils.button_on_off %}
	<!-- HTML to show when checked -->
{% endif %}
