Skip to content

Instantly share code, notes, and snippets.

@hsleewis
Created July 30, 2014 10:01
Show Gist options
  • Save hsleewis/12517cf0c1c6effacbe8 to your computer and use it in GitHub Desktop.
Save hsleewis/12517cf0c1c6effacbe8 to your computer and use it in GitHub Desktop.
{% unless shop.enabled_payment_types == empty %}
<h4 class="text-center">Accepted Payments</h4>
<ul class="inline-list payment-icons text-center">
{% for type in shop.enabled_payment_types %}
<li>
<span class="icon-fallback-text">
<span class="icon icon-{{type}}" aria-hidden="true"></span>
<span class="fallback-text">{{type | replace: '_',' '}}</span>
</span>
</li>
{% endfor %}
</ul>
{% endunless %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment