git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4d3b169
)
use base template for new paste creation page
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 27 Mar 2012 06:19:25 +0000
(08:19 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 27 Mar 2012 06:19:25 +0000
(08:19 +0200)
data/templates/index.htm
patch
|
blob
|
history
diff --git
a/data/templates/index.htm
b/data/templates/index.htm
index eea509bb65d8074de4c90f76cf1531490c8c8eb9..26a22c34de5a1cb683ac66a2c71e08e08271945b 100644
(file)
--- a/
data/templates/index.htm
+++ b/
data/templates/index.htm
@@
-1,4
+1,7
@@
+{% extends "base.htm" %}
+{% block title %}New paste{% endblock %}
+{% block content %}
<form method="post" action="/">
<p>
<label for="description">Description</label>
<form method="post" action="/">
<p>
<label for="description">Description</label>
@@
-17,9
+20,10
@@
</select>
</p>
<p>
</select>
</p>
<p>
- <textarea name="file[1][content]" id="content_1">{{ file[1]['content'] }}</textarea>
+ <textarea name="file[1][content]" id="content_1"
cols="80" rows="10"
>{{ file[1]['content'] }}</textarea>
</p>
<p>
<input type="submit" value="Go"/>
</p>
</p>
<p>
<input type="submit" value="Go"/>
</p>
-</form>
\ No newline at end of file
+</form>
+{% endblock %}