apostrophe
Version:
Apostrophe is a user-friendly content management system. You'll need more than this core module. See apostrophenow.org to get started.
16 lines (15 loc) • 705 B
HTML
{%- macro renderProgressBtn(options) -%}
<a href="{% if options.url %}{{options.url | e }}{% else %}#{% endif %}" {% if options.dataAttrs %}{{ options.dataAttrs }} {% endif %}{
{%- if options.dataAttrs == 'data-save' -%}
<span class="apos-progress-btn-spinner">
<img src="/modules/apos/images/small-spinner.gif">
</span>
{%- endif -%}
{{ options.label }}
</a>
{%- endmacro -%}