more stuff to allow select-table to be used as as edit/elements/edit.html m2* element...
authorivan <ivan>
Sun, 13 Apr 2008 03:03:42 +0000 (03:03 +0000)
committerivan <ivan>
Sun, 13 Apr 2008 03:03:42 +0000 (03:03 +0000)
httemplate/elements/tr-select-table.html [new file with mode: 0644]

diff --git a/httemplate/elements/tr-select-table.html b/httemplate/elements/tr-select-table.html
new file mode 100644 (file)
index 0000000..6ac7487
--- /dev/null
@@ -0,0 +1,20 @@
+% unless ( $opt{'js_only'} ) {
+
+    <% include('tr-td-label.html', @_ ) %>
+
+      <TD <% $style %>>
+% }
+
+        <% include( '/elements/select-table.html', %opt ) %>
+
+% unless ( $opt{'js_only'} ) {
+      </TD>
+    </TR>
+% }
+<%init>
+
+my( %opt ) = @_;
+
+my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
+
+</%init>