Don't try to show a fallback speaker avatar if there isn't one
This commit is contained in:
parent
a6a1b4d935
commit
488d1f5c1e
1 changed files with 1 additions and 1 deletions
|
@ -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 />
|
||||
|
|
Loading…
Reference in a new issue