aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/templates/views/post.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/views/post.html b/src/main/resources/templates/views/post.html
index 8749d9e2..b4893ec9 100644
--- a/src/main/resources/templates/views/post.html
+++ b/src/main/resources/templates/views/post.html
@@ -5,7 +5,7 @@
<form id="postmsg">
<p style="text-align: left">
<b>Фото:</b> <span id="attachmentfile">
- <input style="width: 100%;" type="file" name="attach"/> <i>({{ i18n("messages","postForm.imageFormats") }})</i></span>
+ <input style="width: 100%;" type="file" name="attach" accept="image/jpeg,image/png"/> <i>({{ i18n("messages","postForm.imageFormats") }})</i></span>
</p>
<p>
<textarea name="body" class="newmessage" rows="7" cols="10" placeholder="*weather It's very cold today!">{{ body }}</textarea>
@@ -19,4 +19,4 @@
{% endblock %}
{% block "column" %}
{% include "views/partial/usercolumn" %}
-{% endblock %} \ No newline at end of file
+{% endblock %}