X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Felements%2Fedit.html;h=c6d45531e80a43082cc1c92f5a0555e70bfe73d3;hp=5a7920b6fb649656201d0b471488c040f75a5e4f;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hpb=92c9e14aa28f017837fb94e4da1d9862e30b02f8 diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 5a7920b6f..c6d45531e 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -7,7 +7,7 @@ Example: # (preferred, will be pluralized automatically) 'name' => #name for the record # (deprecated, will be pluralized simplistically) - 'table' => + 'table' => #database table #? 'primary_key' => #required when the dbdef doesn't know...??? 'labels' => { @@ -132,6 +132,11 @@ Example: 'html_init' => '', #after the header/menubar + 'form_init' => '', #after html_init, error and the opening
, but + #before any other form contents + + 'html_table_class' => '', #HTML 'html_table_bottom' => '', @@ -244,6 +249,14 @@ Example: + <% defined($opt{'form_init'}) + ? ( ref($opt{'form_init'}) + ? &{$opt{'form_init'}}() + : $opt{'form_init'} + ) + : '' + %> + % unless ( $opt{'no_pkey_display'} ) { @@ -259,7 +272,11 @@ Example: % } % my $tablenum = $opt{'tablenum'} || 0; -
+
+> % my $g_row = 0; % my @g_row_stack = (); @@ -407,6 +424,7 @@ Example: % 'value' => $opt{curr_value}, % 'label' => $label, % 'noinit' => $f->{noinit}, +% 'required' => $f->{'required'}, % } % ); % }