diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2014-05-07 16:36:01 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2014-05-07 16:36:01 -0700 |
| commit | 6cefc6b5606b26af3fecdbf24e8cbebf870577f4 (patch) | |
| tree | ac83e22e2cafefa2f990f778ec784c3acc8420b1 /httemplate/elements | |
| parent | 204902c9dd654a2bc0e7400b057bcd8c4a60ab54 (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> |
