diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-10-01 12:03:01 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-10-01 12:03:01 -0700 |
commit | d5988a9f7a3617de33da3058f2e9f1151b24420e (patch) | |
tree | 3ed8d80cd6a81f160c76c90fcf089e81fe7ffddf /httemplate/elements/select-state.html | |
parent | 1ab515df162a76347d8146cae4ff34656cc4bcd3 (diff) | |
parent | b6088672c87e2c5984183326b4c0e2d9bd6c34f6 (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements/select-state.html')
-rw-r--r-- | httemplate/elements/select-state.html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/httemplate/elements/select-state.html b/httemplate/elements/select-state.html index 3fb559734..8db157b92 100644 --- a/httemplate/elements/select-state.html +++ b/httemplate/elements/select-state.html @@ -27,16 +27,13 @@ Example: > % unless ( $opt{'disable_empty'} ) { - <OPTION VALUE=""<% $opt{state} eq '' ? ' SELECTED' : '' %>><% $opt{empty_label} %> + <OPTION VALUE=""<% $opt{state} eq '' ? ' SELECTED' : '' %>><% $opt{empty_label} %></OPTION> % } % foreach my $state ( keys %states ) { - - <OPTION VALUE="<% $state |h %>"<% $state eq $opt{'state'} ? ' SELECTED' : '' %>><% $states{$state} || '(n/a)' |h %> - + <OPTION VALUE="<% $state |h %>"<% $state eq $opt{'state'} ? ' SELECTED' : '' %>><% $states{$state} || '(n/a)' |h %></OPTION> % } - </SELECT> <%init> |