X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Felements%2Fedit.html;h=829b77615f50b1317567de5579cb07061b681e96;hp=4e896f2395af01a1c9f09c39704d01710fb91117;hb=793956b8a0c19d7d39103e94235b0ca13f0f3e84;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;ds=sidebyside diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 4e896f239..829b77615 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' => { @@ -108,9 +108,25 @@ Example: # overrides default popurl(1)."process/$table.html" 'post_url' => popurl(1).'process/something', + # optional link to delete this object; primary key will be appended + 'delete_url' => $p.'misc/delete-something.html?', + #we're in a popup (no title/menu/searchboxes) 'popup' => 1, + #if you need to access the submit button + 'submit_id' => 'mysubmitbuttonid', + + #we're embedded (rows only: no header at all, no html_init, no error + # display, no