Don't try to show a fallback speaker avatar if there isn't one

This commit is contained in:
Michael Hall 2018-05-22 17:19:16 -04:00
parent a6a1b4d935
commit 488d1f5c1e

View file

@ -10,7 +10,7 @@
{% csrf_token %}
<div class="form-group">
<table class="table">
<tr><th></th><td><img src="{{speaker.headshot.url}}"/></td></tr>
<tr><th></th><td><img src="{% if speaker.headshot %}{{speaker.headshot.url}}{% endif %}"/></td></tr>
{{speaker_form}}
</table>
<br />