summaryrefslogtreecommitdiffstats
path: root/_includes/commentreplyform.html
blob: 99ffaf3613a4e104b3aa545409f137d56fc52ecc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 %}