diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-05-07 16:36:00 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-05-07 16:36:00 -0700 |
commit | 6eefe7c0eb2fa41651fcc9f3d9c8259ceb77e13a (patch) | |
tree | 2f05a53d1f9ed8a68a03f0d6fdf403eb7e5bee7c /httemplate/elements | |
parent | 7ad62cea1758b8f2e4f0e0d4d8bab36a864b5938 (diff) |
fix agent type selection, RT#28804
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/tr-select-agent_type.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/httemplate/elements/tr-select-agent_type.html b/httemplate/elements/tr-select-agent_type.html index 3fcbcd388..400cb4ebb 100644 --- a/httemplate/elements/tr-select-agent_type.html +++ b/httemplate/elements/tr-select-agent_type.html @@ -1,8 +1,8 @@ -%#% if ( scalar(@agent_types) == 1 ) { -%# -%# <INPUT TYPE="hidden" NAME="<% $opt{'field'} || 'typenum' %>" VALUE="<% $agent_types[0]->typenum %>"> -%# -%#% } else { +% if ( scalar(@agent_types) == 1 ) { + + <INPUT TYPE="hidden" NAME="<% $opt{'field'} || 'typenum' %>" VALUE="<% $agent_types[0]->typenum %>"> + +% } else { <TR> <TD ALIGN="right"><% $opt{'label'} || 'Agent Type' %></TD> @@ -15,7 +15,7 @@ </TD> </TR> -%#% } +% } <%init> |