summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2008-07-07 13:26:14 -0400
committerLuke Macken <lmacken@redhat.com>2008-07-07 13:26:14 -0400
commit094de0d1311e00fc5414d74442a67fd979760ec1 (patch)
tree95c5cab15c7ce41952b4e2bded157e45bf46a334
parent853537067d6f9a4e87d16aa5a494a2a9c17ccfd7 (diff)
downloadmanas-094de0d1311e00fc5414d74442a67fd979760ec1.tar.gz
manas-094de0d1311e00fc5414d74442a67fd979760ec1.tar.xz
manas-094de0d1311e00fc5414d74442a67fd979760ec1.zip
The WidgetBunch on our tmpl_context is now unnecessary
-rw-r--r--manas/templates/idea.html4
-rw-r--r--manas/templates/ideas.html2
-rw-r--r--manas/templates/new.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/manas/templates/idea.html b/manas/templates/idea.html
index 5bd17b5..1107e06 100644
--- a/manas/templates/idea.html
+++ b/manas/templates/idea.html
@@ -8,10 +8,10 @@
<body>
<div id="output" style="display: none"/>
<center>
- ${tmpl_context.w.idea(idea=idea)}
+ ${tmpl_context.idea(idea=idea)}
<div class="comment_form">
<h2>Add a comment</h2>
- ${tmpl_context.w.comment_form(show_labels=False)}
+ ${tmpl_context.comment_form(show_labels=False)}
</div>
</center>
</body>
diff --git a/manas/templates/ideas.html b/manas/templates/ideas.html
index 0c67a76..5e08e0b 100644
--- a/manas/templates/ideas.html
+++ b/manas/templates/ideas.html
@@ -11,7 +11,7 @@
<body>
<div py:for="idea in ideas" class="idea">
- ${tmpl_context.w.idea(idea)}
+ ${tmpl_context.idea(idea)}
</div>
</body>
</html>
diff --git a/manas/templates/new.html b/manas/templates/new.html
index 86f19e5..644a2a3 100644
--- a/manas/templates/new.html
+++ b/manas/templates/new.html
@@ -14,7 +14,7 @@
<div id="error" class="notice fielderror" style="display: none">You must fill in all fields.</div>
<h2 class="notice">Got an idea?</h2>
<br/>
- ${tmpl_context.w.new_idea_form()}
+ ${tmpl_context.new_idea_form()}
</div>
</center>
</body>