X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-reason.html;h=c5b3d6f6c032d8e694ca81dab330b66cbfe28a7d;hb=3cda3a85eb0daa5b8b9f4d30cd0896da6ccf4a9b;hp=b7a715b42d2e9d4f8a4d63e83ea02eaf7ebbe179;hpb=e9e0cf0989259b94d9758eceff448666a2e5a5cc;p=freeside.git diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html index b7a715b42..c5b3d6f6c 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 %>
-