Created
May 27, 2017 07:07
-
-
Save mburke05/fc580850c8ef404769b58035a680135e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for vendor in vendor_list %} | |
<div class="col-lg-3 col-sm-4 col-xs-6"> | |
{% if vendor.logo %} | |
test | |
<img class=".img-fluid" src="data:image/png;base64,{{ vendor.logo }}"> | |
{% else %} | |
<img src="https://placeholdit.imgix.net/~text?txtsize=20&txt=THMBN&w=120&h=120"></img> | |
{% endif %} | |
<h3><a href="{% url 'catalog:detail' vendor.id %}">{{ vendor.name }}</a></h3> | |
<h5>{{ vendor.brief }}</h5> | |
</div> | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment