From bc9a28327b5bf22d0cc218a4e852b128fd940a2b Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 27 Jan 2010 22:58:46 +0100 Subject: Replaced "Plain text" with pygments' "Text only". This will correctly add the layout formatting including line numbers. Added Paste.message and templates.message for error messages. --- templates/__init__.py | 1 + templates/message.tmpl | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 templates/message.tmpl (limited to 'templates') diff --git a/templates/__init__.py b/templates/__init__.py index 8353176..defb657 100644 --- a/templates/__init__.py +++ b/templates/__init__.py @@ -1,2 +1,3 @@ from paste import paste from view import view +from message import message diff --git a/templates/message.tmpl b/templates/message.tmpl new file mode 100644 index 0000000..9f69ebc --- /dev/null +++ b/templates/message.tmpl @@ -0,0 +1,5 @@ +#extends templates.base +#def content +

New paste

+ $text +#end def -- cgit v1.2.3