X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fvalue.htm;h=a7b49de7ff9fa5e5a737ff3f109427e3a00b8b58;hp=0dc5841469ccf7dbf32b6d3d2d6f252a0ca68ac0;hb=7b23839dce0c09953142a5af946ab642027bc3c5;hpb=d1a448604e32a5f2d62fe52438ab36f316f54444 diff --git a/libs/cbi/luasrc/view/cbi/value.htm b/libs/cbi/luasrc/view/cbi/value.htm index 0dc584146..a7b49de7f 100644 --- a/libs/cbi/luasrc/view/cbi/value.htm +++ b/libs/cbi/luasrc/view/cbi/value.htm @@ -1,7 +1,7 @@ <%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich +Copyright 2008-2010 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -13,20 +13,32 @@ $Id$ -%> <%+cbi/valueheader%> - " onchange="cbi_d_update(this.id)"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self:cfgvalue(section)) .. ifattr(self.size, "size")%> /> - <% if #self.keylist > 0 then -%> + /> + <% if self.password then %><% end %> + <% if #self.keylist > 0 or self.datatype then -%> <% end -%> <%+cbi/valuefooter%>