#add message
This commit is contained in:
parent
ff390d163d
commit
4cbdd65caa
|
@ -96,7 +96,7 @@
|
||||||
<div class="form-group col-md-12">
|
<div class="form-group col-md-12">
|
||||||
<label class="form-label" for="image">缩略图
|
<label class="form-label" for="image">缩略图
|
||||||
{% if news.image %}
|
{% if news.image %}
|
||||||
<img src="{{ news.image.url }}">
|
<img src="{{ news.image.url }}" style="width: 200px;height: 150px">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="file" name="image">
|
<input type="file" name="image">
|
||||||
|
|
Loading…
Reference in New Issue