mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 13:19:16 -05:00
added alt text
This commit is contained in:
@@ -226,7 +226,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if '.jpg' in recipe.file_path or '.png' in recipe.file_path or '.jpeg' in recipe.file_path %}
|
{% if '.jpg' in recipe.file_path or '.png' in recipe.file_path or '.jpeg' in recipe.file_path %}
|
||||||
<div class="col-md-12" style="text-align: center">
|
<div class="col-md-12" style="text-align: center">
|
||||||
<img class="img img-fluid" src="{% url 'api_get_recipe_file' recipe.id %}">
|
<img class="img img-fluid" src="{% url 'api_get_recipe_file' recipe.id %}"
|
||||||
|
alt="{% trans 'External recipe image' %}">
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user