Commit 6d9ab992 authored by Joseph Izon's avatar Joseph Izon 💀

Updated img code to display even without image

parent bf2b5273
...@@ -11,5 +11,12 @@ ...@@ -11,5 +11,12 @@
{{ reaction.reaction_name|lower|capfirst }}: {{ reaction.tally }} <br> {{ reaction.reaction_name|lower|capfirst }}: {{ reaction.tally }} <br>
{% endfor %} {% endfor %}
</p> </p>
<img src= {{announcement.image.url}}> {% if announcement.image %}
<img src= {{announcement.image.url}}>
{% else %}
{% endif %}
{% endblock %} {% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment