aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/resources/templates
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-27 22:47:07 +0300
committerGravatar Vitaly Takmazov2018-09-27 22:47:07 +0300
commited9f1256cf2bfd93b749b6e2ef22114d7fcd89bc (patch)
treeed846bd7a981d763e659371088e19313c3b081a4 /juick-server/src/main/resources/templates
parent5f4af8dbe4c431218c4bd186a75f50c23b8e5df0 (diff)
drop unused post mappings
Diffstat (limited to 'juick-server/src/main/resources/templates')
-rw-r--r--juick-server/src/main/resources/templates/views/post.html2
-rw-r--r--juick-server/src/main/resources/templates/views/thread.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/juick-server/src/main/resources/templates/views/post.html b/juick-server/src/main/resources/templates/views/post.html
index 1f642ce1..3753b36c 100644
--- a/juick-server/src/main/resources/templates/views/post.html
+++ b/juick-server/src/main/resources/templates/views/post.html
@@ -2,7 +2,7 @@
{% import "views/macros/tags" %}
{% block content %}
<article>
-<form action="/post2" method="post" id="postmsg" enctype="multipart/form-data">
+<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>
diff --git a/juick-server/src/main/resources/templates/views/thread.html b/juick-server/src/main/resources/templates/views/thread.html
index 1ec9c233..343a2591 100644
--- a/juick-server/src/main/resources/templates/views/thread.html
+++ b/juick-server/src/main/resources/templates/views/thread.html
@@ -87,7 +87,7 @@
{% endif %}
</nav>
{% if msg.VisitorCanComment %}
- <form action="/comment" method="POST" enctype="multipart/form-data" class="msg-comment-target">
+ <form class="msg-comment-target">
<input type="hidden" name="mid" value="{{ msg.mid }}"/>
<div class="msg-comment">
<div class="ta-wrapper">