Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

The thumbnail now only shows if you have an image

  • Loading branch information...
commit 652a607959438b3ecb176e47b32566ec4d258318 1 parent 762d0bb
@rossbruniges authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 gameon/submissions/templates/submissions/edit.html
View
8 gameon/submissions/templates/submissions/edit.html
@@ -6,10 +6,10 @@
{% block view_title %}Edit Your Game{% endblock %}
{% block image_preview %}
-{% if form.thumbnail.value %}
-<p class="meta"><strong>Current image:</strong></p>
-<span class="frame"><img src="{{ MEDIA_URL }}{{ form.thumbnail.value() }}" alt="" /></span>
-<p class="meta">Fancy a change? Feel free to upload a different thumbnail:</p>
+{% if form.thumbnail.value() %}
+ <p class="meta"><strong>Current image:</strong></p>
+ <span class="frame"><img src="{{ MEDIA_URL }}{{ form.thumbnail.value() }}" alt="" /></span>
+ <p class="meta">Fancy a change? Feel free to upload a different thumbnail:</p>
{% endif %}
{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.