From 7002af78bc3e683ff8ce18b39de6d7de484422bf Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 20 Dec 2006 09:49:08 +0000 Subject: add ability to disable package classes --- httemplate/elements/select-table.html | 114 +++++++++++++++++++--------------- 1 file changed, 63 insertions(+), 51 deletions(-) (limited to 'httemplate/elements/select-table.html') diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 83445f41a..0c3c00563 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -1,65 +1,77 @@ -% -% -% ##required -% # 'table' => 'table_name', -% # 'name_col' => 'name_column', -% # -% ##strongly recommended (you want your forms to be "sticky" on errors, right?) -% # 'value' => 'current_value', -% # -% ##opt -% # 'empty_label' => '', #better specify it though, the default might change -% # 'hashref' => {}, -% # 'extra_sql' => '', -% # 'records' => \@records, #instead of hashref -% # 'pre_options' => [ 'value' => 'option' ], #before normal options -% # 'element_name' => '', #HTML element name, defaults to the name of -% # # the primary key column -% # 'element_etc' => '', #additional attributes (i.e. "DISABLED") for the -% # #> + % while ( @pre_options ) {