X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-reason.html;h=9b402b0eb5cd090aa1b3e3cfe94afd7a1cd5a8d0;hb=2d5acabf71d46aa469a6867f294706242c82db98;hp=9a670a26b50f91cba6b3a0c08d8398eb847ccb8d;hpb=57e56b312682dbca92ae1b0c994091f7da17f0b1;p=freeside.git diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html index 9a670a26b..9b402b0eb 100755 --- a/httemplate/elements/tr-select-reason.html +++ b/httemplate/elements/tr-select-reason.html @@ -29,109 +29,119 @@ Example: %doc> +% # note style improvements. +% # - no more conditionally included code here +% # - callers are not expected to pass javascript fragments +% # - no redundant checking of ACLs or parameters +% # - form fields are grouped for easy management +% # - use the standard select-table widget instead of ad hoc crap -
<% mt('No reason types. Please add some.') |h %>
-<% mt('Reason Type') |h %>
-<% $types[0]->type %> - -
<% mt('Reason Type') |h %>
-