#add message

This commit is contained in:
xieshen 2020-12-17 16:28:22 +08:00
parent ff390d163d
commit 4cbdd65caa
1 changed files with 1 additions and 1 deletions

View File

@ -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">