Commit 4c2da75e authored by fred.perso's avatar fred.perso

Merge branch 'display_photo' into 'master'

Add picture display for place_detail

See merge request !8
parents f47d09e7 413accec
......@@ -217,6 +217,12 @@
</div>
</div>
</fieldset>
{% if object.photo_file %}
<fieldset>
<legend>Photo</legend>
<img src="{{ object.photo_file.url }}" alt="Photo du gîte" width="500"/>
</fieldset>
{% endif %}
{% if object.bdsource %}
<fieldset>
<legend>BD Source</legend>
......
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