stray closing /TABLE in the no-ticket case
[freeside.git] / httemplate / elements / selectlayers.html
index dd279bd..785ee36 100644 (file)
@@ -121,7 +121,7 @@ Example:
 
         <OPTION VALUE="<% $option %>"
                 <% $option eq $selected ? ' SELECTED' : '' %>
-        ><% $options->{$option} %></OPTION>
+        ><% $options->{$option} |h %></OPTION>
 
 %     }
 
@@ -146,7 +146,7 @@ Example:
 
       <DIV ID="<% $key %>d<% $layer %>"
            STYLE="<% $selected_layer eq $layer
-                       ? 'display: ""  ; z-index: 1'
+                       ? 'display: block; z-index: 1'
                        : 'display: none; z-index: 0'
                   %>"
       >
@@ -236,7 +236,7 @@ sub layer_callback {
       $date_noinit = 1;
     }
     else {
-      $include = "input-$include" if $include =~ /^(text|money)$/;
+      $include = "input-$include" if $include =~ /^(text|money|percentage)$/;
       $include = "tr-$include" unless $include eq 'hidden';
       $html .= include( "/elements/$include.html",
                         %$lf,