aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/layout.html1
-rw-r--r--templates/new_paste.html6
2 files changed, 5 insertions, 2 deletions
diff --git a/templates/layout.html b/templates/layout.html
index 64298f2..106ca8c 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -15,7 +15,6 @@ href="{{ url_for('static', filename='small.css') }}" />
</script>
#}
<div class=page>
- <h1>Flask Pastebin</h1>
<ul class=nav>
<li><a href="{{ url_for('new_paste') }}">New Paste</a>
{#
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