fixed keywords without icons

This commit is contained in:
vabene1111
2020-03-16 14:48:04 +01:00
parent 7b65252d47
commit 9853cecabb
2 changed files with 9 additions and 5 deletions

View File

@@ -70,11 +70,12 @@
{% if recipe.internal %}
<small>{% trans 'by' %} {{ recipe.created_by.username }}<br/></small>
<br/>
{% endif %}
{% if recipe.all_tags %}
{{ recipe.all_tags }}
{% if recipe.keywords %}
{% for x in recipe.keywords.all %}
<span class="badge badge-pill badge-light">{{ x }}</span>
{% endfor %}
<br/>
<br/>
{% endif %}