* luci/libs/cbi: add css classes to input fields - needed for IE compat
[project/luci.git] / libs / cbi / luasrc / view / cbi / upload.htm
index 7e0ab1b..2c293cb 100644 (file)
@@ -21,8 +21,8 @@ $Id$
        <% if v then %>
                <%:cbi_upload Uploaded File%> (<%=t.byte_format(luci.fs.stat(v).size or 0)%>)
                <input type="hidden"<%= attr("value", v) .. attr("name", cbid) .. attr("id", cbid) %> />
-               <input type="image" value="<%:cbi_replace%>" name="cbi.rlf.<%=section .. "." .. self.option%>" alt="<%:cbi_replace%>" title="<%:cbi_replace%>" src="<%=resource%>/cbi/reload.gif" />
+               <input class="cbi-input-image" type="image" value="<%:cbi_replace%>" name="cbi.rlf.<%=section .. "." .. self.option%>" alt="<%:cbi_replace%>" title="<%:cbi_replace%>" src="<%=resource%>/cbi/reload.gif" />
        <% else %>
-               <input type="file"<%= attr("name", cbid) .. attr("id", cbid) %> />
+               <input class="cbi-input-file" type="file"<%= attr("name", cbid) .. attr("id", cbid) %> />
        <% end %>
 <%+cbi/valuefooter%>