[*] скорректировал работу диалогов

[+] добавил jquery в публичную часть
This commit is contained in:
rsgrinko committed 2023-08-08 23:55:27 +03:00
1 parent 94f387b072
commit 27ba47465f
10 files changed
+108 -12

No files matched your search

+6 -2
View File
@@ -36,10 +36,14 @@
</div>
<p>
<form method="POST" action="/users/{{ companionId }}/sendMessage">
<form method="POST" action="/users/{{ companionId }}/sendMessage" enctype="multipart/form-data">
<input type="hidden" name="dialogId" value="{{ dialog_id }}">
<textarea name="message"></textarea>
<button class="button w100" type="submit">Отправить</button>
<label class="input-file w100">
<input type="file" name="file">
<span class="w100">Выберите файл</span>
</label>
<button class="button w100" type="submit" value="sendMessage">Отправить</button>
</form>
</p>