Allow uploading images
This commit is contained in:
1 parent
8859cd0000
commit
361c4fd0a3
11 files changed
+280
-2
No files matched your search
@@ -31,6 +31,12 @@
|
||||
<th>Altitude</th>
|
||||
<td>{{ post.altitude }}</td>
|
||||
</tr>
|
||||
{% if post.image %}
|
||||
<tr>
|
||||
<th>Image</th>
|
||||
<td><img src="{{ vich_uploader_asset(post, 'imageFile') }}" class="img-thumbnail" width="200" alt=""></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th>Commentary</th>
|
||||
<td>{{ post.commentary }}</td>
|
||||
|
||||
Reference in new issue
Block a user