allow table id to be specified for tablebreak elements (so edit/elements/edit.html...
[freeside.git] / httemplate / elements / tablebreak-tr-title.html
index 35dc05d..ee28312 100644 (file)
@@ -1,5 +1,14 @@
 </TABLE>
 
-<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE <% $id %> BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <% include('tr-title.html', @_ ) %>
+
+<%init>
+
+my %opt = @_;
+
+my $id = '';
+$id = 'ID="'. $opt{'table_id'}. '"' if $opt{'table_id'};
+
+</%init>