summaryrefslogtreecommitdiffstats
path: root/_includes/commentreplyform.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/commentreplyform.html')
-rw-r--r--_includes/commentreplyform.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/_includes/commentreplyform.html b/_includes/commentreplyform.html
new file mode 100644
index 0000000..99ffaf3
--- /dev/null
+++ b/_includes/commentreplyform.html
@@ -0,0 +1,18 @@
+{% comment %}
+ argv: thisid,uid
+ return: html form
+ langstrings used: comment.taplaceholder, basic.nepodpiraiframe
+{% endcomment %}
+{% capture return %}
+ <form target=comstatus{{ argv[1] }} action=/api?m=commentreply method=POST class=commentform >
+ <input type=text name=vzdevek placeholder="Vzdevek pošiljatelja" />
+ <input type=submit name=submit value=Objavi! />
+ <textarea placeholder="{{ site.data.lang.comment.taplaceholder }}" name=message ></textarea>
+ {% comment %}
+ assign thisid = "comment|" | append: comment.author | append: "|" | append: comment.date <!-- rajši imamo xss-safe nonce !!! thisid se generira prej -->
+ {% endcomment %}
+ <input type=hidden name=parent value="{{ argv[0] | replace: '"', "&quot;" }}" />
+ <input type=hidden name=is-submitter-human value=true />
+ <iframe id=comstatus{{ argv[1] }}>{{ site.data.lang.basic.nepodpiraiframe }}</iframe>
+ </form>
+{% endcapture %}