aboutsummaryrefslogtreecommitdiff
path: root/templates/new_paste.html
diff options
context:
space:
mode:
authorsudan <sudan@douban.com>2016-01-21 10:13:35 +0800
committersudan <sudan@douban.com>2016-01-21 11:16:11 +0800
commit1123a187c012df06381b415798db4b2c18a4016d (patch)
tree7de10187ec169f6beaf5a6d9c695ce4920b72453 /templates/new_paste.html
parentmerge from jiawei (diff)
downloadstackbin-1123a187c012df06381b415798db4b2c18a4016d.tar.gz
stackbin-1123a187c012df06381b415798db4b2c18a4016d.tar.bz2
stackbin-1123a187c012df06381b415798db4b2c18a4016d.zip
style
Diffstat (limited to 'templates/new_paste.html')
-rw-r--r--templates/new_paste.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/new_paste.html b/templates/new_paste.html
index 658acfb..c7c623d 100644
--- a/templates/new_paste.html
+++ b/templates/new_paste.html
@@ -1,7 +1,11 @@
{% extends "layout.html" %}
{% block title %}New Paste{% endblock %}
{% block body %}
- <h2>New Paste</h2>
+<h2>New Paste
+ {%- if parent %}
+ - Reply to #{{ parent.id }}
+ {%- endif %}
+</h2>
<form action="" method=post>
<div class=code><textarea name=code cols=60 rows=12>{{ parent.code }}</textarea></div>
<p><input type=submit value="New Paste">
bgstack15