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 %}
|
{% csrf_token %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<table class="table">
|
<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}}
|
{{speaker_form}}
|
||||||
</table>
|
</table>
|
||||||
<br />
|
<br />
|
||||||
|
|
Loading…
Reference in a new issue