[Bps-public-commit] r11527 - RT-FormTools/html/FormTools
sartak at bestpractical.com
sartak at bestpractical.com
Sat Apr 5 03:46:29 EDT 2008
Author: sartak
Date: Sat Apr 5 03:46:29 2008
New Revision: 11527
Modified:
RT-FormTools/html/FormTools/Form
Log:
Add include_header (default true) to Form in case you don't want the header
Modified: RT-FormTools/html/FormTools/Form
==============================================================================
--- RT-FormTools/html/FormTools/Form (original)
+++ RT-FormTools/html/FormTools/Form Sat Apr 5 03:46:29 2008
@@ -1,5 +1,6 @@
<%args>
$next
+$include_header => 1
</%args>
<%init>
my $content = $m->content;
@@ -22,9 +23,10 @@
}
</%init>
+% if ($include_header) {
<& /Elements/Header, Title => $m->notes('page_title') &>
-
<& /Elements/PageLayout, title => $m->notes('page_title') &>
+% }
<form method="POST" action="<%$next%>">
<%$content|n%>
More information about the Bps-public-commit
mailing list