X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselect-table.html;h=a52fdfaaa505692ac8a0b5ffd22668eafeca0d59;hp=83445f41a02f3cabb3ae89550beafb73ef44999e;hb=d2b55d07a9e6e64a38877136d7974ab93e14f1ed;hpb=3ce7691203a7737406bf2d4442f7fd84b81f847e diff --git a/httemplate/elements/select-table.html b/httemplate/elements/select-table.html index 83445f41a..a52fdfaaa 100644 --- a/httemplate/elements/select-table.html +++ b/httemplate/elements/select-table.html @@ -1,65 +1,233 @@ -% -% -% ##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 ) { +<%doc> -