diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-04-30 04:01:21 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-04-30 04:01:21 -0700 |
commit | 67b56f17cc51d10394a986fb3d105213b097ee79 (patch) | |
tree | a4c41eb1fa5caca96430658b4b70319f776d657f /httemplate/edit/elements/edit.html | |
parent | 7d34aacffa38c4cac09b54080487a66c264e4668 (diff) |
service dependencies: part_pkg_restrict / part_pkg_restrict_soft, RT#33685
Diffstat (limited to 'httemplate/edit/elements/edit.html')
-rw-r--r-- | httemplate/edit/elements/edit.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 5a7920b6f..76df82064 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -132,6 +132,9 @@ Example: 'html_init' => '', #after the header/menubar + 'form_init' => '', #after html_init, error and the opening <FORM>, but + #before any other form contents + #string or coderef of additional HTML to add before </TABLE> 'html_table_bottom' => '', @@ -244,6 +247,14 @@ Example: <INPUT TYPE="hidden" NAME="svcdb" VALUE="<% $table %>"> <INPUT TYPE="hidden" NAME="<% $pkey %>" VALUE="<% $clone ? '' : $object->$pkey() %>"> + <% defined($opt{'form_init'}) + ? ( ref($opt{'form_init'}) + ? &{$opt{'form_init'}}() + : $opt{'form_init'} + ) + : '' + %> + % unless ( $opt{'no_pkey_display'} ) { <FONT SIZE="+1"><B> |